diff options
author | Evan Prodromou <evan@status.net> | 2010-01-02 08:36:47 -1000 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-02 08:36:47 -1000 |
commit | 52fbd101629b59f279195d0b11c7775b8aa4637f (patch) | |
tree | b7a4dfc7076d5b686c8c57a36a005a11cd278559 /classes/Notice.php | |
parent | d2bbf65f1915e259343b32934fa50cd693dbda26 (diff) |
incorrectly used empty() instead of isset() for a variable that could be 0
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 0bb3b861c..93e94230d 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; } |