Merge pull request #6802 from nupplaphil/task/readmes
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 3 Mar 2019 21:01:50 +0000 (16:01 -0500)
committerGitHub <noreply@github.com>
Sun, 3 Mar 2019 21:01:50 +0000 (16:01 -0500)
Adding READMEs to directories

src/Core/NotificationsManager.php

index 4c6b932..42abc31 100644 (file)
@@ -91,7 +91,7 @@ class NotificationsManager extends BaseObject
         */
        public function getByID($id)
        {
-               $stmtNotify = DBA::selectFirst('notify', ['id' => $id, 'uid' => local_user()]);
+               $stmtNotify = DBA::selectFirst('notify', [], ['id' => $id, 'uid' => local_user()]);
                if (DBA::isResult($stmtNotify)) {
                        return $this->_set_extra([$stmtNotify])[0];
                }