),
'generate' => array(
'desc' => 'Generate notifications for a table, eg. cash_invoice',
- 'default' => 0,
+ 'default' => '',
'short' => 'g',
'min' => 0,
- 'max' => 0,
+ 'max' => 1,
),
);
var $target = 'Core/NotifySend';
var $evtype = ''; // any notification...
// this script should only handle EMAIL notifications..
-
+ var $force = false;
function getAuth()
{
$ff = HTML_FlexyFramework::get();
if (is_a($w, 'DB_DataObject')) {
$w->generateNotifications();
}
+ exit;
}