if ($cli) {
echo "ERROR: " .$str . "\n"; // print the error first, as DB might fail..
}
+ $pman = HTML_FlexyFramework::get()->Pman;
- if ($type !== false) {
+ if ($type !== false && empty($pman['nodatabase'])) {
if(!empty($errors)){
DB_DataObject::factory('Events')->writeEventLogExtra($errors);