mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Remove duplicated line (in $db->select)
Caused some errors when using $db->select function (news editing for example)
This commit is contained in:
parent
602a4aa835
commit
f09c129c6d
@ -101,7 +101,6 @@ abstract class OTS_Base_DB extends PDO implements IOTS_DB
|
||||
for ($i = 0; $i < $count; $i++)
|
||||
$query.= $this->fieldName($fields[$i]).' = '.$this->quote($values[$i]).' AND ';
|
||||
|
||||
$query = substr($query, 0, -4);
|
||||
$query = substr($query, 0, -4);
|
||||
if (isset($limit))
|
||||
$query .=') LIMIT '.$limit.';';
|
||||
|
Loading…
x
Reference in New Issue
Block a user