Changeset 3294

Show
Ignore:
Timestamp:
08/07/2008 02:16:26 PM (4 months ago)
Author:
zombor
Message:

Fixing #711.

Files:
1 modified

Legend:

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

    r3278 r3294  
    733733                foreach ($key as $k => $v) 
    734734                { 
     735                        // Add a table prefix if the column includes the table. 
     736                        if (strpos($k, '.')) 
     737                                $k = $this->config['table_prefix'].$k; 
     738 
    735739                        $this->set[$k] = $this->driver->escape($v); 
    736740                }