Page 1 of 1

update svn r1109

Posted: Fri May 25, 2012 1:42 am
by bwingwing
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!!

Re: update svn r1109

Posted: Fri May 25, 2012 3:13 am
by Qphoria
easier for you to just follow the original bug fix here:
http://forum.opencart.com/viewtopic.php ... 48#p294332