Browse Source

Update api.php

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

+ 1
- 1
api.php View File

@@ -176,7 +176,7 @@ class SQLSRV_CRUD_API extends REST_CRUD_API {
176 176
 			}
177 177
 			if (is_array($param)) {
178 178
 				$args = array_merge($args,$param);
179
-				return '('.implode(',',split('',str_repeat('?',count($param)))).')';
179
+				return '('.implode(',',str_split(str_repeat('?',count($param)))).')';
180 180
 			}
181 181
 			$args[] = $param;
182 182
 			return '?';

Loading…
Cancel
Save