Minahito
minah****@users*****
2006年 2月 4日 (土) 02:23:36 JST
Index: xoops2jp/html/modules/system/admin/preferences/main.php diff -u xoops2jp/html/modules/system/admin/preferences/main.php:1.2.8.2 xoops2jp/html/modules/system/admin/preferences/main.php:1.2.8.3 --- xoops2jp/html/modules/system/admin/preferences/main.php:1.2.8.2 Thu Oct 27 19:57:42 2005 +++ xoops2jp/html/modules/system/admin/preferences/main.php Sat Feb 4 02:23:36 2006 @@ -1,5 +1,5 @@ <?php -// $Id: main.php,v 1.2.8.2 2005/10/27 10:57:42 minahito Exp $ +// $Id: main.php,v 1.2.8.3 2006/02/03 17:23:36 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -81,6 +81,11 @@ $myts =& MyTextSanitizer::getInstance(); if ($config[$i]->getVar('conf_valuetype') == 'array') { // this is exceptional.. only when value type is arrayneed a smarter way for this + + // + // TODO We should gurard warning in the following line + // "implode(): Bad arguments. in file" + // $ele = ($config[$i]->getVar('conf_value') != '') ? new XoopsFormTextArea($title, $config[$i]->getVar('conf_name'), $myts->htmlspecialchars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50) : new XoopsFormTextArea($title, $config[$i]->getVar('conf_name'), '', 5, 50); } else { $ele = new XoopsFormTextArea($title, $config[$i]->getVar('conf_name'), $myts->htmlspecialchars($config[$i]->getConfValueForOutput()), 5, 50);