adding more security to wami records documents

skala
Juan Carlos Raña 13 years ago
parent 6ecf70f018
commit 5062ac60a8
  1. 2
      main/inc/lib/wami-recorder/record_document.php

@ -19,7 +19,7 @@ else {
die();
}
if ($wamiuserid!= api_get_user_id()){
if ($wamiuserid!= api_get_user_id() || api_get_user_id()==0 || $wamiuserid==0) {
api_not_allowed();
die();
}

Loading…
Cancel
Save