Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1685
 
1845
 
1845
 
database.php
_> 11 <?php
  22 /*
<> 3 -  $Id: database.php 1685 2007-09-03 15:30:45Z hpdl $
   3+  $Id: database.php 1845 2009-02-27 00:19:37Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
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     }