Changeset 2196

Show
Ignore:
Timestamp:
02/29/2008 08:14:45 AM (10 months ago)
Author:
zombor
Message:

Fixing some typos for #451.

Location:
trunk/system/libraries/drivers/Database
Files:
4 modified

Legend:

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

    r2193 r2196  
    124124        public function escape_column($column) 
    125125        { 
    126                 if (!$this->config['escape']) 
     126                if (!$this->db_config['escape']) 
    127127                        return $column; 
    128128 
     
    263263        public function escape_str($str) 
    264264        { 
    265                 if (!$this->config['escape']) 
     265                if (!$this->db_config['escape']) 
    266266                        return $str; 
    267267 
  • trunk/system/libraries/drivers/Database/Mysql.php

    r2193 r2196  
    253253        public function escape_str($str) 
    254254        { 
    255                 if (!$this->config['escape']) 
     255                if (!$this->db_config['escape']) 
    256256                        return $str; 
    257257 
  • trunk/system/libraries/drivers/Database/Pdosqlite.php

    r2193 r2196  
    209209        public function escape_str($str) 
    210210        { 
    211                 if (!$this->config['escape']) 
     211                if (!$this->db_config['escape']) 
    212212                        return $str; 
    213213 
  • trunk/system/libraries/drivers/Database/Pgsql.php

    r2193 r2196  
    8888        public function escape_table($table) 
    8989        { 
    90                 if (!$this->config['escape']) 
     90                if (!$this->db_config['escape']) 
    9191                        return $table; 
    9292 
     
    9696        public function escape_column($column) 
    9797        { 
    98                 if (!$this->config['escape']) 
     98                if (!$this->db_config['escape']) 
    9999                        return $column; 
    100100 
     
    220220        public function escape_str($str) 
    221221        { 
    222                 if (!$this->config['escape']) 
     222                if (!$this->db_config['escape']) 
    223223                        return $str; 
    224224