Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

208
 
219
 
219
 
manufacturer.php
_> 1616     function osC_Manufacturer($id) {
  1717       global $osC_Database;
  1818 
<> 19 -      $Qmanufacturer = $osC_Database->query('select manufacturers_name as name, manufacturers_image as image from :table_manufacturers where manufacturers_id = :manufacturers_id');
   19+      $Qmanufacturer = $osC_Database->query('select manufacturers_id as id, manufacturers_name as name, manufacturers_image as image from :table_manufacturers where manufacturers_id = :manufacturers_id');
2020       $Qmanufacturer->bindTable(':table_manufacturers', TABLE_MANUFACTURERS);
  2121       $Qmanufacturer->bindInt(':manufacturers_id', $id);
  2222       $Qmanufacturer->execute();
     
 !
2626       }
  2727     }
  2828 
<>  29+    function getID() {
   30+      if (isset($this->_data['id'])) {
   31+        return $this->_data['id'];
   32+      }
   33+
   34+      return false;
   35+    }
   36+
<_ 2937     function getTitle() {
  3038       if (isset($this->_data['name'])) {
  3139         return $this->_data['name'];