Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1862
 
1863
 
1863
 
database.php
_> 11 <?php
  22 /*
<> 3 -  $Id: database.php 1862 2009-03-06 23:34:07Z hpdl $
   3+  $Id: database.php 1863 2009-03-06 23:53:49Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2007 osCommerce
   8+  Copyright (c) 2009 osCommerce
99 
  1010   This program is free software; you can redistribute it and/or modify
  1111   it under the terms of the GNU General Public License v2 (1991)
     
 !
6262     }
  6363 
  6464     function setError($error, $error_number = '', $query = '') {
<> 65 -      global $messageStack;
   65+      global $osC_MessageStack;
6666 
  6767       if ($this->error_reporting === true) {
  6868         $this->error = $error;
  6969         $this->error_number = $error_number;
  7070         $this->error_query = $query;
  7171 
<> 72 -        if (isset($messageStack)) {
  73 -          $messageStack->add('debug', $this->getError());
   72+        if (isset($osC_MessageStack)) {
   73+          $osC_MessageStack->add('debug', $this->getError());
7474         }
  7575       }
  7676     }
     
 !
551551                 $this->setNextID($this->logging_module_id);
  552552               }
  553553 
<> 554 -              if ( class_exists('osC_AdministratorsLog') ) {
  555 -                osC_AdministratorsLog::insert($this->logging_module, $this->db_class->logging_transaction_action, $this->logging_module_id, $this->logging_action, $this->logging_changed, $this->db_class->logging_transaction);
   554+              if ( class_exists('osC_AdministratorsLog_Admin') ) {
   555+                osC_AdministratorsLog_Admin::insert($this->logging_module, $this->db_class->logging_transaction_action, $this->logging_module_id, $this->logging_action, $this->logging_changed, $this->db_class->logging_transaction);
<_ 556556               }
  557557             }
  558558           }