Commit dabd74750224a0237ab2afbfd758387a99aeb487

Authored by nbm
1 parent 14594230

Note that KTEntityUtil::getList's SQL query is safe


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3095 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
lib/ktentity.inc
@@ -90,7 +90,7 @@ class KTEntity { @@ -90,7 +90,7 @@ class KTEntity {
90 90
91 class KTEntityUtil { 91 class KTEntityUtil {
92 function &getList($sTable, $sClassName, $sWhereClause = null) { 92 function &getList($sTable, $sClassName, $sWhereClause = null) {
93 - $sQuery = "SELECT id FROM " . $sTable; 93 + $sQuery = "SELECT id FROM " . $sTable;/*ok*/
94 $aParams = array(); 94 $aParams = array();
95 if (!is_null($sWhereClause)) { 95 if (!is_null($sWhereClause)) {
96 if (is_string($sWhereClause)) { 96 if (is_string($sWhereClause)) {