Changeset 1586

Show
Ignore:
Timestamp:
12/18/07 14:08:46 (8 months ago)
Author:
Geert
Message:

Fixed bug. You don't want to start inserting the actual SQL itself, do you? ;)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Database.php

    r1573 r1586  
    213213        { 
    214214            $argv = func_get_args(); 
    215             $binds = (is_array(next($argv))) ? current($argv) : $argv; 
     215            $binds = (is_array(next($argv))) ? current($argv) : array_slice($argv, 1); 
    216216        } 
    217217