killed a php5.2 warning

This commit is contained in:
Cornelius Weiß 2006-12-01 13:34:17 +00:00
parent 24ae9727d5
commit f4baebf3c1

View File

@ -1630,7 +1630,7 @@
$sql = "SELECT $cols FROM $table $join";
// if we have a where clause, we need to add it together with the WHERE statement, if thats not in the join
if ($where) $sql .= strstr($join,"WHERE") ? ' AND ('.$where.')' : ' WHERE '.$where;
if ($where) $sql .= @strstr($join,"WHERE") ? ' AND ('.$where.')' : ' WHERE '.$where;
if ($append) $sql .= ' '.$append;