OSDN Git Service

Avoid notices when the valiables are empty
authorkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sun, 2 Dec 2007 23:53:56 +0000 (23:53 +0000)
committerkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Sun, 2 Dec 2007 23:53:56 +0000 (23:53 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/branches/branch-3-3@353 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/libs/showlist.php

index 261138c..1c1770b 100644 (file)
@@ -14,8 +14,8 @@
  *
  * @license http://nucleuscms.org/license.txt GNU General Public License
  * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: showlist.php,v 1.7.2.1 2007-09-05 07:42:37 kimitake Exp $
- * @version $NucleusJP: showlist.php,v 1.7 2007/04/19 06:26:15 kimitake Exp $
+ * @version $Id: showlist.php,v 1.7.2.2 2007-12-02 23:53:56 kmorimatsu Exp $
+ * @version $NucleusJP: showlist.php,v 1.7.2.1 2007/09/05 07:42:37 kimitake Exp $
  */
 
 
@@ -249,7 +249,7 @@ function listplug_plugOptionRow($current) {
        $meta = NucleusPlugin::getOptionMeta($current['typeinfo']);
 
        // only if it is not a hidden option write the controls to the page
-       if ($meta['access'] != 'hidden') {
+       if (@$meta['access'] != 'hidden') {
                echo '<td>',htmlspecialchars($current['description']?$current['description']:$current['name']),'</td>';
                echo '<td>';
                switch($current['type']) {
@@ -292,7 +292,7 @@ function listplug_plugOptionRow($current) {
                                }
                                echo ' />';
                }
-               echo $current['extra'];
+               echo @$current['extra'];
                echo '</td>';
        }
 }