Commit 985aa681 authored by Bala Bosch's avatar Bala Bosch
Browse files

Issue #1221336 by n3ko: Fixed error with pg database when upgrading from v1.6.

parent 7248638a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
Skinr 6.x-2.x, xxxx-xx-xx
-------------------------
Issue #1221336 by n3ko: Fixed error with pg database when upgrading from v1.6.
Issue #943782 by moonray, Dane Powell, rfay, Alexander Allen, Jacine |
  Melissamcewen: _system_theme_data() causes PHP notices, but system_theme_data()
  causes themes to be disabled on update.
+1 −1
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ function skinr_update_6003() {
 */
function skinr_update_6004() {
  $ret = array();
  $ret[] = update_sql("UPDATE {skinr} SET sid = REPLACE(sid, '-panel-', '-region-') WHERE module = 'panels' && sid LIKE '%-panel-%'");
  $ret[] = update_sql("UPDATE {skinr} SET sid = REPLACE(sid, '-panel-', '-region-') WHERE module = 'panels' AND sid LIKE '%-panel-%'");

  return $ret;
}