zikula-modules/News — Issue #87: Wrong initialization for $formattedcontent in function newitem
Author: nmpetkov
Created: 2012-03-04 17:13:42+00:00
State: open

In User.php, function newitem:
it is:
$formattedcontent = ModUtil::apiFunc('News', 'user', 'isformatted', array('func' => 'new'));
but have to be:
$formattedcontent = ModUtil::apiFunc('News', 'user', 'isformatted', array('func' => 'newitem'));