EllisLab text mark
Advanced Search
Found critical bug.
Posted: 19 August 2011 10:16 AM
Joined: 2011-06-20
4 posts

Hi all. I’ve found a bug in api classes..

ExpressionEngine v2.1.1

Api_channel_entries.php: line 86


Api.php: line 101

foreach ($params as $param => $val)
->{$param} $val;

Assigning class proprety with digital name breaks script on Ubuntu 10.04, php+xdebug enviroinment.

How to reproduce: install xdebug, EE and try to add new entry to EE channel.

See here rules for variable naming: