BUG: Call to undefined function FuzeWorks\each() #3

Closed
opened 2022-10-10 13:41:42 +00:00 by abelhooge · 1 comment
Owner

Calling $this->input->server() causes a Call to undefined function FuzeWorks\each().

Calling ``$this->input->server()`` causes a Call to undefined function FuzeWorks\each().
Author
Owner

To resolve, add the following code under xss_clean():

// Is the string an array?
if (is_array($str))
{
    foreach ($str as $key => $value)
        $str[$key] = $this->xss_clean($str[$key]);

    return $str;
}
To resolve, add the following code under xss_clean(): ``` // Is the string an array? if (is_array($str)) { foreach ($str as $key => $value) $str[$key] = $this->xss_clean($str[$key]); return $str; } ```
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FuzeWorks/WebComponent#3
No description provided.