diff --git a/action.php b/action.php index 86fd7d5..c3cf1d0 100644 --- a/action.php +++ b/action.php @@ -74,7 +74,7 @@ function handle_io_write(&$event, $param) { global $INFO; if(!$this->hlp->in_namespace($this->getConf('apr_namespaces'), $ID)) { return; } if($INFO['perm'] < AUTH_DELETE) { return true; } - if($ACT != 'save') { return true; } + if(($ACT != 'save') && (!array_key_exists ( 'save' , $ACT))) { return true; } if(!$event->data[3]) { return true; } # don't approve the doc being moved to archive if($_POST['approved']) { $data = pageinfo();