intval for type assurance
This commit is contained in:
parent
79c40bc73b
commit
d260808cd3
|
@ -792,7 +792,7 @@ class Notice extends Managed_DataObject
|
||||||
// FIXME: ...what about remote nonpublic? Hmmm. That is, if we sandbox remote profiles...
|
// FIXME: ...what about remote nonpublic? Hmmm. That is, if we sandbox remote profiles...
|
||||||
$stored->is_local = Notice::LOCAL_NONPUBLIC;
|
$stored->is_local = Notice::LOCAL_NONPUBLIC;
|
||||||
} else {
|
} else {
|
||||||
$stored->is_local = $is_local;
|
$stored->is_local = intval($is_local);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$stored->isLocal()) {
|
if (!$stored->isLocal()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user