...
This commit is contained in:
parent
2e3ed0205b
commit
8ddf7a92bb
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ if (array_key_exists('act',$_GET) && $_GET['act']=='markread' && array_key_exist
|
|||
} elseif (array_key_exists('act',$_GET) && $_GET['act']=='loadchunk' && array_key_exists('chunk',$_GET) && preg_match('/^[0-9]+$/',$_GET['chunk'])===1) {
|
||||
$_GET['chunk']+=0;
|
||||
$chunksize=20; // questo dev'essere uguale in include/notifs.php
|
||||
$res=mysqli_query($link,'SELECT * FROM Notifications WHERE Deleted = 0 ORDER BY Microtime DESC LIMIT '.($_GET['chunk']*$chunksize).','.$chunksize)
|
||||
$res=mysqli_query($link,'SELECT * FROM Notifications WHERE Deleted=0 ORDER BY Microtime DESC LIMIT '.($_GET['chunk']*$chunksize).','.$chunksize)
|
||||
or muoribene(mysqli_error($link),true);
|
||||
$buf=array();
|
||||
while ($row=mysqli_fetch_assoc($res)) {
|
||||
|
|
Loading…
Reference in a new issue