OSDN Git Service

Avoid showing notice for empty valiable
authorkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Mon, 3 Dec 2007 01:15:07 +0000 (01:15 +0000)
committerkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Mon, 3 Dec 2007 01:15:07 +0000 (01:15 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/branches/branch-3-3@355 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/libs/PLUGIN.php

index 2c16918..0f9e5fa 100755 (executable)
@@ -17,8 +17,8 @@
         *
         * @license http://nucleuscms.org/license.txt GNU General Public License
         * @copyright Copyright (C) 2002-2007 The Nucleus Group
-        * @version $Id: PLUGIN.php,v 1.12.2.1 2007-09-05 07:40:59 kimitake Exp $
-        * $NucleusJP: PLUGIN.php,v 1.12 2007/04/20 08:43:25 kimitake Exp $
+        * @version $Id: PLUGIN.php,v 1.12.2.2 2007-12-03 01:15:07 kmorimatsu Exp $
+        * $NucleusJP: PLUGIN.php,v 1.12.2.1 2007/09/05 07:40:59 kimitake Exp $
         */
        class NucleusPlugin {
 
                 */
                function _getOID($context, $name) {
                        $key = $context . '_' . $name;
-                       $info = $this->_aOptionToInfo[$key];
+                       $info = @$this->_aOptionToInfo[$key];
                        if (is_array($info)) return $info['oid'];
 
                        // load all OIDs for this plugin from the database