Просмотр поста

.
jimy

please help me, i have problems with this functions.php
the error_log shown this

[09-Jun-2012 19:50:12] PHP Warning:  array_diff() [<a href='function.array-diff'>function.array-diff</a>]: Argument #1 is not an array in /home/*******/public_html/incfiles/classes/functions.php on line 339
[09-Jun-2012 19:50:12] PHP Warning:  implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in /home/********/public_html/incfiles/classes/functions.php on line 339


this is the code on line 339 :
public static function display_menu($val = array(), $delimiter = ' | ', $end_space = '')
    {
        return implode($delimiter, array_diff($val, array(''))) . $end_space;
    }

and this my functions.php please some one help to correct it
Прикрепленные файлы: