bugfix
This commit is contained in:
parent
75febbe3a5
commit
c240c4fdcd
1 changed files with 2 additions and 2 deletions
4
api.php
4
api.php
|
|
@ -1139,8 +1139,8 @@ class PHP_CRUD_API {
|
|||
$max = max(count($ids),count($inputs));
|
||||
for ($i=0;$i<$max;$i++) {
|
||||
$id = isset($ids[$i])?$ids[$i]:false;
|
||||
$input = isset($inputs[$i])?$inputs[$i]:false;
|
||||
$callback($action,$database,$table,$id,$input);
|
||||
if (!isset($inputs[$i])) $inputs[$i] = false;
|
||||
$callback($action,$database,$table,$id,$inputs[$i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue