File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ public function update($data,$options) {
281
281
.$ this ->parseWhere (!empty ($ options ['where ' ])?$ options ['where ' ]:'' )
282
282
.$ this ->parseLock (isset ($ options ['lock ' ])?$ options ['lock ' ]:false )
283
283
.$ this ->parseComment (!empty ($ options ['comment ' ])?$ options ['comment ' ]:'' );
284
- return $ this ->execute ($ sql );
284
+ return $ this ->execute ($ sql, $ this -> parseBind (! empty ( $ options [ ' bind ' ])? $ options [ ' bind ' ]: array ()) );
285
285
}
286
286
287
287
/**
@@ -297,7 +297,7 @@ public function delete($options=array()) {
297
297
.$ this ->parseWhere (!empty ($ options ['where ' ])?$ options ['where ' ]:'' )
298
298
.$ this ->parseLock (isset ($ options ['lock ' ])?$ options ['lock ' ]:false )
299
299
.$ this ->parseComment (!empty ($ options ['comment ' ])?$ options ['comment ' ]:'' );
300
- return $ this ->execute ($ sql );
300
+ return $ this ->execute ($ sql, $ this -> parseBind (! empty ( $ options [ ' bind ' ])? $ options [ ' bind ' ]: array ()) );
301
301
}
302
302
303
303
/**
You can’t perform that action at this time.
0 commit comments