Post by bwingwing » Fri May 25, 2012 1:42 am

Can anyone please teach me how to update to svn r1109. Where I can download the necessary file to copy and paste.

I can see the changes in here " http://code.google.com/p/opencart/source/list" but can I just download the newest file.

Looks like I need to change the code in here.

upload/admin/model/catalog/information.php

delete red and add green

$this->db->query("UPDATE " . DB_PREFIX . "information SET bottom = '" . (int)$data['bottom'] . "' WHERE information_id = '" . (int)$information_id . "'");
41 + $this->db->query("UPDATE " . DB_PREFIX . "information SET bottom = '1' WHERE information_id = '" . (int)$information_id . "'");
42 + } else {
43 + $this->db->query("UPDATE " . DB_PREFIX . "information SET bottom = '0' WHERE information_id = '" . (int)$information_id . "'");


In my file, upload/admin/model/catalog/information.php , I can only find this code which is not truely the same as red colour code.

$this->db->query("UPDATE " . DB_PREFIX . "information SET bottom = '" . (int)$data['bottom'] . "', sort_order = '" . (int)$data['sort_order'] . "', status = '" . (int)$data['status'] . "' WHERE information_id = '" . (int)$information_id . "'");

or I should update from r1101-r1109 one by one.


Thank you for your help in advance!!

New member

Posts

Joined
Sun Oct 24, 2010 3:54 am

Post by Qphoria » Fri May 25, 2012 3:13 am

easier for you to just follow the original bug fix here:
http://forum.opencart.com/viewtopic.php ... 48#p294332

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 46 guests