Zeile 106 | Zeile 106 |
---|
if(isset($mybb->cookies['mybb']['threadread'])) {
|
if(isset($mybb->cookies['mybb']['threadread'])) {
|
$threadsread = my_unserialize($mybb->cookies['mybb']['threadread']);
| $threadsread = my_unserialize($mybb->cookies['mybb']['threadread'], false);
|
} if(isset($mybb->cookies['mybb']['forumread'])) {
|
} if(isset($mybb->cookies['mybb']['forumread'])) {
|
$forumsread = my_unserialize($mybb->cookies['mybb']['forumread']);
| $forumsread = my_unserialize($mybb->cookies['mybb']['forumread'], false);
|
}
if(!empty($threadsread))
| }
if(!empty($threadsread))
|
Zeile 283 | Zeile 283 |
---|
$update_count = 15; }
|
$update_count = 15; }
|
$mark_query = '';
| switch($db->type) { case "pgsql": case "sqlite": $mark_query = array(); break; default: $mark_query = ''; }
|
$done = 0; foreach(array_keys($forums) as $fid) {
| $done = 0; foreach(array_keys($forums) as $fid) {
|
Zeile 325 | Zeile 334 |
---|
} }
|
} }
|
if($mark_query != '')
| if(!empty($mark_query))
|
{ switch($db->type) {
| { switch($db->type) {
|