Skip to content
Snippets Groups Projects
Commit 7a79a0de authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #0 check is numeric before unlock

parent b52081f1
No related branches found
No related tags found
No related merge requests found
...@@ -399,7 +399,7 @@ else if(empty($_POST['values']) || !isset($_POST['action_id']) || empty($_POST[' ...@@ -399,7 +399,7 @@ else if(empty($_POST['values']) || !isset($_POST['action_id']) || empty($_POST['
{ {
if(!empty($arr_res[$i])) if(!empty($arr_res[$i]))
{ {
if(is_integer($arr_res[$i])){ if(is_numeric($arr_res[$i])){
$docLocker = new docLocker($arr_res[$i]); $docLocker = new docLocker($arr_res[$i]);
$docLocker->unlock(); $docLocker->unlock();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment