Ticket #252 (new defect)

Opened 4 years ago

list cannot be used a function name

Reported by: tomdeb Owned by: avel
Priority: normal Milestone:
Component: Backend: File Version:
Severity: critical Keywords:
Cc:

Description

When activating the File Backend, I get the folllwing error when navigating to the filters page:

Parse error: syntax error, unexpected T_LIST, expecting T_STRING in /usr/share/squirrelmail/plugins/avelsieve/include/DO_Sieve_File.class.php on line 55

After googling the error, it appears that list is a special function in PHP and thus a method cannot be called list, as does DO_Sieve_File.class.php on line 55.

Thanks

Note: See TracTickets for help on using tickets.