Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

613
 
757
 
757
 
product.php
_> 2323 
  2424         if (is_numeric($id) || ereg('[0-9]+[{[0-9]+}[0-9]+]*$', $id)) {
  2525           $Qproduct->appendQuery('p.products_id = :products_id');
<> 26 -          $Qproduct->bindInt(':products_id', tep_get_prid($id));
   26+          $Qproduct->bindInt(':products_id', osc_get_product_id($id));
2727         } else {
  2828           $Qproduct->appendQuery('pd.products_keyword = :products_keyword');
  2929           $Qproduct->bindValue(':products_keyword', $id);
     
 !
237237 
  238238       if (is_numeric($id) || ereg('[0-9]+[{[0-9]+}[0-9]+]*$', $id)) {
  239239         $Qcheck->appendQuery('where p.products_id = :products_id');
<> 240 -        $Qcheck->bindInt(':products_id', tep_get_prid($id));
   240+        $Qcheck->bindInt(':products_id', osc_get_product_id($id));
241241       } else {
  242242         $Qcheck->appendQuery(', :table_products_description pd where pd.products_keyword = :products_keyword and pd.products_id = p.products_id');
  243243         $Qcheck->bindTable(':table_products_description', TABLE_PRODUCTS_DESCRIPTION);
     
 !
259259 
  260260       $Qupdate = $osC_Database->query('update :table_products_description set products_viewed = products_viewed+1 where products_id = :products_id and language_id = :language_id');
  261261       $Qupdate->bindTable(':table_products_description', TABLE_PRODUCTS_DESCRIPTION);
<> 262 -      $Qupdate->bindInt(':products_id', tep_get_prid($this->_data['id']));
   262+      $Qupdate->bindInt(':products_id', osc_get_product_id($this->_data['id']));
<_ 263263       $Qupdate->bindInt(':language_id', $osC_Language->getID());
  264264       $Qupdate->execute();
  265265     }