Commit 1c50f370b1a5efe0119afa1f2e4155b9343cd7f3

Authored by Conrad Vermeulen
1 parent 136b78fd

KTS-1687

"Double quote to single quote conversion"
Fixed.

Reviewed by: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6260 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/browse/BrowseColumns.inc.php
... ... @@ -139,7 +139,7 @@ class TitleColumn extends BrowseColumn {
139 139 } else {
140 140 $outStr .= '<span class="contenttype '.$this->_mimeHelper($aDataRow['document']->getMimeTypeId()).'">';
141 141 $outStr .= $this->renderDocumentLink($aDataRow);
142   - $outStr .= ' (' . $this->prettySize($aDataRow["document"]->getSize()) . ')';
  142 + $outStr .= ' (' . $this->prettySize($aDataRow['document']->getSize()) . ')';
143 143 $outStr .= '</span>';
144 144 }
145 145 //return $outStr;
... ... @@ -237,7 +237,7 @@ class UserColumn extends BrowseColumn {
237 237 if ($this->sort_on) {
238 238 $href .= $this->sort_direction == 'asc' ? 'desc' : 'asc' ;
239 239 } else {
240   - $href .= $this->sort_direction = "asc";
  240 + $href .= $this->sort_direction = 'asc';
241 241 }
242 242  
243 243 return '<a href="' . $href . '">'.$text.'</a>';
... ... @@ -408,7 +408,7 @@ class DownloadColumn extends BrowseColumn {
408 408  
409 409  
410 410 // only _ever_ show this folder documents.
411   - if ($aDataRow["type"] === "folder") {
  411 + if ($aDataRow['type'] === 'folder') {
412 412 return '&nbsp;';
413 413 }
414 414  
... ...