Zeile 9 | Zeile 9 |
---|
*/
/**
|
*/
/**
|
* Upgrade Script: 1.6.14 or 1.6.15
| * Upgrade Script: 1.6.14, 1.6.15 or 1.6.16
|
*/
$upgrade_detail = array(
| */
$upgrade_detail = array(
|
Zeile 1116 | Zeile 1116 |
---|
$groups[] = "'{$group['gid']}'"; }
|
$groups[] = "'{$group['gid']}'"; }
|
$usergroups = implode(',', $groups); $db->update_query('usergroups', array('canbereported' => 1), "gid IN ({$usergroups})");
| if(!empty($groups)) { $usergroups = implode(',', $groups); $db->update_query('usergroups', array('canbereported' => 1), "gid IN ({$usergroups})"); }
|
$db->update_query('usergroups', array('canviewboardclosed' => 1), 'cancp = 1');
| $db->update_query('usergroups', array('canviewboardclosed' => 1), 'cancp = 1');
|
Zeile 2234 | Zeile 2237 |
---|
}
$update_array = array(
|
}
$update_array = array(
|
"properties" => $db->escape_string(serialize($properties)), "stylesheets" => $db->escape_string(serialize($stylesheets))
| "properties" => $db->escape_string(my_serialize($properties)), "stylesheets" => $db->escape_string(my_serialize($stylesheets))
|
);
$db->update_query("themes", $update_array, "tid = '1'");
| );
$db->update_query("themes", $update_array, "tid = '1'");
|
Zeile 2291 | Zeile 2294 |
---|
} }
|
} }
|
$db->update_query("themes", array("properties" => $db->escape_string(serialize($properties))), "tid='{$theme['tid']}'");
| $db->update_query("themes", array("properties" => $db->escape_string(my_serialize($properties))), "tid='{$theme['tid']}'");
|
}
$contents .= "done.</p>";
| }
$contents .= "done.</p>";
|
Zeile 2366 | Zeile 2369 |
---|
} $update_array = array(
|
} $update_array = array(
|
"properties" => $db->escape_string(serialize($properties)), "stylesheets" => $db->escape_string(serialize($stylesheets))
| "properties" => $db->escape_string(my_serialize($properties)), "stylesheets" => $db->escape_string(my_serialize($stylesheets))
|
); $db->update_query("themes", $update_array, "tid = '2'");
| ); $db->update_query("themes", $update_array, "tid = '2'");
|