Hi Lynette

It calls class.misc.php for that function (Misc::arrayToSQL):

    function arrayToSQL($a)
        if (is_array($a)) {
            $b = $a;
            foreach ($a as $key => $value) {
                $b[$key] = "'".mysql_escape_string($value)."'";
            return implode(',', $b);
        return '';

Can you check this function is in your class.misc.php? Its in the trunk/subversion if you can’t find it:

If it IS in there, maybe force include class.misc.php at the top of the class.workflow_trigger.php file like this:

include_once(APP_INC_PATH . "class.misc.php");

Hope that helps!


On 4/5/07 7:07 AM, "Lynette Rayle" <elrayle@cs.cornell.edu> wrote:

Version:            Fez 1.3 RC3
Screen:             Default Workflows
Action:              Check box next to workflow to delete and select Delete button
Error:                Fatal error: Call to undefined function arrayToSQL() in /var/www/html/candidate-1.3/include/class.workflow_trigger.php on line 178
I’ve tried deleting several different workflows and they all get this error.  Is there a patch for this?

This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.

Fez-users mailing list

Christiaan Kortekaas
Senior Library Systems Programmer
Library Technology Service
The University of Queensland, Australia QLD 4072
Telephone : (+61) (7) 3346 4337