From: <sy...@us...> - 2009-07-10 19:34:06
|
Revision: 20060 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=20060&view=rev Author: sylvieg Date: 2009-07-10 19:34:04 +0000 (Fri, 10 Jul 2009) Log Message: ----------- notice Modified Paths: -------------- trunk/lib/core/lib/TikiDb.php Modified: trunk/lib/core/lib/TikiDb.php =================================================================== --- trunk/lib/core/lib/TikiDb.php 2009-07-10 18:50:18 UTC (rev 20059) +++ trunk/lib/core/lib/TikiDb.php 2009-07-10 19:34:04 UTC (rev 20060) @@ -60,6 +60,9 @@ { $result = $this->query( $query, $values, 1, $offset, $reporterrors ); $res = $result->fetchRow(); + if (empty($res)) { + return $res; + } return reset( $res ); } // }}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |