Skip to content
Permalink
Browse files

Fix: Do not throw error when entry got deleted, go to 404 page

  • Loading branch information...
onli committed Feb 16, 2019
1 parent ba9c401 commit 153b5a37f1a9350817bb76009eddd358e7db36ec
Showing with 3 additions and 0 deletions.
  1. +3 −0 include/functions_entries.inc.php
@@ -1014,6 +1014,9 @@ function serendipity_getTotalEntries() {
$querystring = "SELECT count(distinct e.id) {$serendipity['fullCountQuery']}";
}
if ($serendipity['fullCountQuery'] == '') {
return 0;
}
$query =& serendipity_db_query($querystring);
if (is_array($query) && isset($query[0])) {

0 comments on commit 153b5a3

Please sign in to comment.
You can’t perform that action at this time.