Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

829
 
1422
 
1422
 
address_book.php
_> 5555 
  5656     function numberOfEntries() {
  5757       global $osC_Database, $osC_Customer;
<>  58+
5859       static $total_entries;
  5960 
<> 60 -      if (is_numeric($total_entries) === false) {
   61+      if ( !is_numeric($total_entries) ) {
6162         $Qaddresses = $osC_Database->query('select count(*) as total from :table_address_book where customers_id = :customers_id');
  6263         $Qaddresses->bindTable(':table_address_book', TABLE_ADDRESS_BOOK);
  6364         $Qaddresses->bindInt(':customers_id', $osC_Customer->getID());
  6465         $Qaddresses->execute();
  6566 
  6667         $total_entries = $Qaddresses->valueInt('total');
<> 67 -      } else {
  68 -        $total_entries = 0;
<_ 6968       }
  7069 
  7170       return $total_entries;