Commit c3ab9710b0d34b5fdf9239086cd1f5b24b48a6e7
1 parent
78559e50
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@6235 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
bin/cleanup.php
| @@ -131,7 +131,7 @@ function checkRepoDocument($oDocument) { | @@ -131,7 +131,7 @@ function checkRepoDocument($oDocument) { | ||
| 131 | function checkRepoVersions($oDocument) { | 131 | function checkRepoVersions($oDocument) { |
| 132 | global $fsPath, $aRepoVersionProblems; | 132 | global $fsPath, $aRepoVersionProblems; |
| 133 | $table = 'document_transactions'; | 133 | $table = 'document_transactions'; |
| 134 | - $aVersions = DBUtil::getResultArrayKey(array("SELECT DISTINCT version FROM $table WHERE document_id = ?", array($oDocument->getID())), "version"); | 134 | + $aVersions = DBUtil::getResultArrayKey(array("SELECT DISTINCT version FROM $table WHERE document_id = ?", array($oDocument->getID())), 'version'); |
| 135 | foreach($aVersions as $sVersion) { | 135 | foreach($aVersions as $sVersion) { |
| 136 | if ($sVersion == $oDocument->getVersion()) { | 136 | if ($sVersion == $oDocument->getVersion()) { |
| 137 | continue; | 137 | continue; |