diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-03-14 01:59:19 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-03-14 01:59:19 -0700 |
commit | fdbc1c157ef331d37b177f61de01fa298628bf02 (patch) | |
tree | f77d5380abc0825bd9c65e5b029a5fda662cc2f0 | |
parent | 9b0b31db4eb2eddd674366cc79228cd66fb0b1bb (diff) | |
download | pathery-fdbc1c157ef331d37b177f61de01fa298628bf02.tar.xz |
Bugfix forever wall-notifications.
-rw-r--r-- | ajax/scores.ajax.php | 2 | ||||
-rw-r--r-- | do.php | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/ajax/scores.ajax.php b/ajax/scores.ajax.php index f2d38fc..897da3b 100644 --- a/ajax/scores.ajax.php +++ b/ajax/scores.ajax.php @@ -1,7 +1,5 @@ <?
-// Session as read-only to not lock the file.
session_start();
-session_write_close();
$userID = $_SESSION['userID'];
@@ -52,8 +52,7 @@ if (isset($_GET['checkachieve']) && $_GET['checkachieve'] == 'true' && $_SESSION $userID = $_SESSION['userID'];
//Located in includes/datas.php
$note = getNotified($userID);
- if ($note !== false)
- $json['notificationtext'] = $note;
+ if ($note !== false) $json['notificationtext'] = $note;
}
if ($_GET['r'] == 'reqMemberPage') {
|