Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthortheis

    In a template I have the following code:
    $s = $arr[0];

    (I hope one can reproduce it with it ...)
    I got the security error "You can't use the following member variables within template: $arr".
    I guess the bug is in PHPAnalyzer.php, function handleSimpleToken.
    Around line 286 it reads:

    case ']'

    It does not test if $this->currentVar !== false as in other places so I will end with the member "$arr" for object "0".

    Best regards

    • CommentAuthorannyphp
    Free and open source PHP Bug Tracking System Projects. These Projects build a bug tracking system so that track the bug of your site always.
    You may check :http://www.phpkode.com/projects/category/php-bug-tracking-system/
    • CommentAuthorpogeybait4883

    how are you declaring the $arr variable in your controller? Show the code please.