From: Mischa POSLAWSKY Date: Mon, 28 Oct 2019 04:02:49 +0000 (+0100) Subject: page: silence object warnings on missing pages X-Git-Tag: v4.1~5 X-Git-Url: http://git.shiar.nl/minimedit.git/commitdiff_plain/fa949c0747fa001c345a139abb9889a18ba2563a page: silence object warnings on missing pages --- diff --git a/page.inc.php b/page.inc.php index b7a7e77..7a54bf7 100644 --- a/page.inc.php +++ b/page.inc.php @@ -7,7 +7,7 @@ print "
\n"; ob_start(); include 'menu.inc.html'; ob_start(); -if ($User) { +if (!empty($User)) { print '