incorrectly used empty() instead of isset() for a variable that could be 0
This commit is contained in:
parent
d2bbf65f19
commit
52fbd10162
@ -214,7 +214,7 @@ class Notice extends Memcached_DataObject
|
||||
extract($options);
|
||||
}
|
||||
|
||||
if (empty($is_local)) {
|
||||
if (!isset($is_local)) {
|
||||
$is_local = Notice::LOCAL_PUBLIC;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user