Maurits van der Schee 8 years ago
parent
commit
e98a7e9e1a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api.php

+ 1
- 1
api.php View File

@@ -1259,7 +1259,7 @@ class PHP_CRUD_API {
1259 1259
 				$this->db->rollbackTransaction();
1260 1260
 				return null;
1261 1261
 			}
1262
-			$ids[] = $this->db->insertId($result);
1262
+			$ids[] = $result;
1263 1263
 		}
1264 1264
 		$this->db->commitTransaction();
1265 1265
 		return $ids;

Loading…
Cancel
Save