This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Found critical bug.

August 19, 2011 10:16am

Subscribe [1]
  • #1 / Aug 19, 2011 10:16am


    4 posts

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

    ExpressionEngine v2.1.1

    Api_channel_entries.php: line 86

    $this->_initialize(array('channel_id', 'entry_id', 'autosave'));

    Api.php: line 101

    foreach ($params as $param => $val)
        $this->{$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:

ExpressionEngine News

#eecms, #events, #releases