X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fnoresultexception.php;h=2933a351222c2eca4c10eedf7c6193f23241b7cf;hb=dd93420b08910a8bf9967dad7906351695d1ac55;hp=6eb83b89d264e58b5ff51b6596c6d6b46b8baf8e;hpb=fb94a16217bd7c944530442614dd9c00abf9d5e7;p=quix0rs-gnu-social.git
diff --git a/lib/noresultexception.php b/lib/noresultexception.php
index 6eb83b89d2..2933a35122 100644
--- a/lib/noresultexception.php
+++ b/lib/noresultexception.php
@@ -20,7 +20,7 @@
* along with this program. If not, see .
*
* @category Exception
- * @package GNUSocial
+ * @package GNUsocial
* @author Mikael Nordfeldth
* @copyright 2013 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPLv3
@@ -31,8 +31,11 @@ if (!defined('GNUSOCIAL')) { exit(1); }
class NoResultException extends ServerException
{
- public function __construct(DB_DataObject $obj)
+ public $obj; // The object with query that gave no results
+
+ public function __construct(Memcached_DataObject $obj)
{
+ $this->obj = $obj;
// We could log an entry here with the search parameters
parent::__construct(sprintf(_('No result found on %s lookup.'), get_class($obj)));
}