]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/NotificationsManager.php
Remove code parameter from HTTPException constructor
[friendica.git] / src / Core / NotificationsManager.php
index bd877670c62be496d00c045ba1d863c1e7e49e31..5b2e97005aec370ea502de52570334963a3fca81 100644 (file)
@@ -580,9 +580,9 @@ class NotificationsManager extends BaseObject
                                LEFT JOIN `fcontact` ON `intro`.`fid` = `fcontact`.`id`
                        WHERE `intro`.`uid` = ? $sql_extra AND `intro`.`blocked` = 0
                        LIMIT ?, ?",
-                       intval($_SESSION['uid']),
-                       intval($start),
-                       intval($limit)
+                       $_SESSION['uid'],
+                       $start,
+                       $limit
                );
                if (DBA::isResult($stmtNotifies)) {
                        $notifs = $this->formatIntros(DBA::toArray($stmtNotifies));