OSDN Git Service

Avoid the warning of call-time pass-by-reference deprecation for $manager->notify
authorkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Wed, 5 Dec 2007 01:27:36 +0000 (01:27 +0000)
committerkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Wed, 5 Dec 2007 01:27:36 +0000 (01:27 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/branches/branch-3-3@357 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/libs/ACTION.php

index 50c31d8..77a9d9f 100755 (executable)
@@ -15,8 +15,8 @@
  *
  * @license http://nucleuscms.org/license.txt GNU General Public License
  * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: ACTION.php,v 1.8.2.3 2007-10-24 09:05:58 kimitake Exp $
- * $NucleusJP: ACTION.php,v 1.8.2.2 2007/10/23 06:24:50 kimitake Exp $
+ * @version $Id: ACTION.php,v 1.8.2.4 2007-12-05 01:27:36 kmorimatsu Exp $
+ * $NucleusJP: ACTION.php,v 1.8.2.3 2007/10/24 09:05:58 kimitake Exp $
  */
 class ACTION
 {
@@ -200,8 +200,7 @@ class ACTION
 
                // evaluate content from FormExtra
                $result = 1;
-               $data = array('type' => 'membermail', 'error' => &$result);
-               $manager->notify('ValidateForm', &$data);
+               $manager->notify('ValidateForm', array('type' => 'membermail', 'error' => &$result));
 
                if ($result!=1) {
                        return $result;