Fix warnings.

This commit is contained in:
Sébastien Lucas 2014-05-16 15:09:18 +02:00
parent d9bdd2b136
commit 87149f8bc5
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ order by publishers.name');
where publishers.id = publisher and upper (publishers.name) like ? where publishers.id = publisher and upper (publishers.name) like ?
group by publishers.id, publishers.name group by publishers.id, publishers.name
order by publishers.name'; order by publishers.name';
list ($totalNumber, $result) = parent::executeQuery ($sql, $columns, "", array ('%' . $query . '%'), -1); list (, $result) = parent::executeQuery ($sql, $columns, "", array ('%' . $query . '%'), -1);
$entryArray = array(); $entryArray = array();
while ($post = $result->fetchObject ()) while ($post = $result->fetchObject ())

View file

@ -79,7 +79,7 @@ order by series.sort');
where series.id = series and upper (series.name) like ? where series.id = series and upper (series.name) like ?
group by series.id, series.name, series.sort group by series.id, series.name, series.sort
order by series.sort'; order by series.sort';
list ($totalNumber, $result) = parent::executeQuery ($sql, $columns, "", array ('%' . $query . '%'), -1); list (, $result) = parent::executeQuery ($sql, $columns, "", array ('%' . $query . '%'), -1);
$entryArray = array(); $entryArray = array();
while ($post = $result->fetchObject ()) while ($post = $result->fetchObject ())
{ {