Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

153
 
184
 
184
 
reviews.php
_> 11 <?php
  22 /*
<> 3 -  $Id: reviews.php 153 2005-08-04 12:57:59Z hpdl $
   3+  $Id: reviews.php 184 2005-09-07 14:48:20Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
2929           $this->is_enabled = true;
  3030           break;
  3131         case 1:
<> 32 -          if ($osC_Customer->isLoggedOn() == true) {
   32+          if ($osC_Customer->isLoggedOn()) {
3333             $this->is_enabled = true;
  3434           } else {
  3535             $this->is_enabled = false;
     
 !
5555       $Qhaspurchased->bindRaw(':table_orders', TABLE_ORDERS);
  5656       $Qhaspurchased->bindRaw(':table_orders_products', TABLE_ORDERS_PRODUCTS);
  5757       $Qhaspurchased->bindRaw(':table_products', TABLE_PRODUCTS);
<> 58 -      $Qhaspurchased->bindInt(':customers_id', $osC_Customer->id);
   58+      $Qhaspurchased->bindInt(':customers_id', $osC_Customer->getID());
5959       $Qhaspurchased->bindInt(':products_id', $_GET['products_id']);
  6060       $Qhaspurchased->execute();
  6161 
     
 !
7474         $this->is_moderated = false;
  7575         break;
  7676       case 0:
<> 77 -        if ($osC_Customer->isLoggedOn() === true) {
   77+        if ($osC_Customer->isLoggedOn()) {
<_ 7878           $this->is_moderated = false;
  7979         } else {
  8080           $this->is_moderated = true;