[xoops-cvslog 4078] CVS update: xoops2jp/html/modules/base/admin/forms

Back to archive index

Minahito minah****@users*****
2006年 8月 10日 (木) 18:44:54 JST


Index: xoops2jp/html/modules/base/admin/forms/PreferenceEditForm.class.php
diff -u xoops2jp/html/modules/base/admin/forms/PreferenceEditForm.class.php:1.1.2.3 xoops2jp/html/modules/base/admin/forms/PreferenceEditForm.class.php:1.1.2.4
--- xoops2jp/html/modules/base/admin/forms/PreferenceEditForm.class.php:1.1.2.3	Wed Aug  9 18:41:54 2006
+++ xoops2jp/html/modules/base/admin/forms/PreferenceEditForm.class.php	Thu Aug 10 18:44:54 2006
@@ -79,8 +79,10 @@
 					else {
 						$this->mFormProperties[$config->get('conf_name')] =& new XCube_StringArrayProperty($config->get('conf_name'));
 						$t_arr = unserialize($config->get('conf_value'));
-						foreach ($t_arr as $_key => $_value) {
-							$this->set($config->get('conf_name'), $_key, $_value);
+						if (is_array($t_arr)) {
+							foreach ($t_arr as $_key => $_value) {
+								$this->set($config->get('conf_name'), $_key, $_value);
+							}
 						}
 					}
 					break;


xoops-cvslog メーリングリストの案内
Back to archive index