|
@@ -770,7 +770,7 @@ The 'before' function allows modification of the request parameters and can (for
|
770
|
770
|
'before'=>function(&$cmd, &$db, &$tab, &$id, &$in) {
|
771
|
771
|
if ($cmd == 'delete') {
|
772
|
772
|
$cmd = 'update'; // change command to update
|
773
|
|
- $in->deleted = date('Y-m-d H:i:s', time());
|
|
773
|
+ $in = (object)array('deleted' => date('Y-m-d H:i:s', time()));
|
774
|
774
|
}
|
775
|
775
|
},
|
776
|
776
|
'column_authorizer'=>function($cmd, $db ,$tab, $col) {
|