diff --git a/include/preod.inc.php b/include/preod.inc.php index b0ed018c5..2d5923ba3 100644 --- a/include/preod.inc.php +++ b/include/preod.inc.php @@ -55,6 +55,8 @@ require_once('class_pre_operation.php'); // if $_REQUEST[sa] == del delete the predefined operation if ( $sa == 'del') { $op=new Pre_operation($cn); + if ( isset($_REQUEST['direct'])) + $op->od_direct='t'; $op->od_id=$_REQUEST['od_id']; $op->delete(); $sa='jrn';