[geeklog-devel] Configuration GUI on PHP 4?

Dwight Trumbower dwight at trumbower.com
Fri Oct 5 11:58:26 EDT 2007


The foreach is where it is blowing up.

 function updateConfig($change_array)
    {
        if (!SEC_inGroup('Root'))
            return null;
        $success_array = array();
        foreach ($this->config_array as $param_name => $param_value) {
            if (array_key_exists($param_name, $change_array)) {
                $change_array[$param_name] =
                    $this->_validate_input($change_array[$param_name]);
                if ($change_array[$param_name] != $param_value) {
                    $this->set($param_name, $change_array[$param_name]);
                    $success_array[$param_name] = true;
                }
            }
        }
        return $success_array;
    }

-- 
Have a Great Day!

Dwight Trumbower
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist8.pair.net/pipermail/geeklog-devel/attachments/20071005/ab6c3ee9/attachment.html>


More information about the geeklog-devel mailing list