From 7d690f1084be3c7612dfa519991daf8fd2ee8637 Mon Sep 17 00:00:00 2001 From: secretr Date: Thu, 5 Nov 2009 00:38:21 +0000 Subject: [PATCH] warning removal --- e107_handlers/model_class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_handlers/model_class.php b/e107_handlers/model_class.php index 003bc5a9b..8520090f3 100644 --- a/e107_handlers/model_class.php +++ b/e107_handlers/model_class.php @@ -9,8 +9,8 @@ * e107 Base Model * * $Source: /cvs_backup/e107_0.8/e107_handlers/model_class.php,v $ - * $Revision: 1.30 $ - * $Date: 2009-11-04 17:29:26 $ + * $Revision: 1.31 $ + * $Date: 2009-11-05 00:38:21 $ * $Author: secretr $ */ @@ -997,7 +997,7 @@ class e_model */ public function __toString() { - return $this->toString((@func_get_arg(0) === true)); + return $this->toString((func_num_args() && @func_get_arg(0) === true)); } public function destroy()