From: Evan Prodromou Date: Sat, 2 Jan 2010 18:36:47 +0000 (-1000) Subject: incorrectly used empty() instead of isset() for a variable that could be 0 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=52fbd101629b59f279195d0b11c7775b8aa4637f;p=quix0rs-gnu-social.git incorrectly used empty() instead of isset() for a variable that could be 0 --- diff --git a/classes/Notice.php b/classes/Notice.php index 0bb3b861c7..93e94230d9 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -214,7 +214,7 @@ class Notice extends Memcached_DataObject extract($options); } - if (empty($is_local)) { + if (!isset($is_local)) { $is_local = Notice::LOCAL_PUBLIC; }