diff --git a/include/class.dynamic_forms.php b/include/class.dynamic_forms.php index 93b9da001a3b9dffcaa7ae5fa1949f1046319f34..c221dd3f05a18cc87cae7df3bc49085c3808465a 100644 --- a/include/class.dynamic_forms.php +++ b/include/class.dynamic_forms.php @@ -995,7 +995,7 @@ class SelectionField extends FormField { function toString($items) { return ($items && is_array($items)) - ? explode(', ', $items) : (string) $items; + ? implode(', ', $items) : (string) $items; } function validateEntry($entry) { diff --git a/include/upgrader/prereq.inc.php b/include/upgrader/prereq.inc.php index 867cd0e4bbbf994f994c234fa205c50818604201..8cdd98e97e87ed89ac94d4a4ecdfa78bc4c30375 100644 --- a/include/upgrader/prereq.inc.php +++ b/include/upgrader/prereq.inc.php @@ -17,7 +17,7 @@ if(!defined('OSTSCPINC') || !$thisstaff || !$thisstaff->isAdmin()) die('Access D <li class="<?php echo $upgrader->check_php()?'yes':'no'; ?>"> <?php echo sprintf(__('%s or later'), 'PHP v5.3'); ?> - (<small><b><?php echo PHP_VERSION; ?></b></small>)</li> <li class="<?php echo $upgrader->check_mysql()?'yes':'no'; ?>"> - <?php echo __('MySQLi extension for PHP'); ?>- (<small><b><?phpi + <?php echo __('MySQLi extension for PHP'); ?>- (<small><b><?php echo extension_loaded('mysqli')?__('module loaded'):__('missing!'); ?></b></small>)</li> <li class="<?php echo $upgrader->check_mysql_version()?'yes':'no'; ?>"> <?php echo sprintf(__('%s or later'), 'MySQL v5.0'); ?> - (<small><b><?php echo db_version(); ?></b></small>)</li>