forked from extern/egroupware
killed a php5.2 warning
This commit is contained in:
parent
24ae9727d5
commit
f4baebf3c1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user