From commit cb01b253308060bad942723413feef1fd70825fd Bug 17047: SQL reports management with Mana-KB 'notes' => $report->notes, 'sql' => $report->savedsql, 'showsql' => 1, + 'mana_success' => $input->param('mana_success'), + 'mana_success' => scalar $input->param('mana_success'), + 'mana_id' => $report->{mana_id}, + 'mana_comments' => $report->{comments} No idea what's the side-effect here but this code is wrong.