intval for type assurance

This commit is contained in:
Mikael Nordfeldth 2015-10-14 01:16:22 +02:00
parent 79c40bc73b
commit d260808cd3
1 changed files with 1 additions and 1 deletions

View File

@ -792,7 +792,7 @@ class Notice extends Managed_DataObject
// FIXME: ...what about remote nonpublic? Hmmm. That is, if we sandbox remote profiles...
$stored->is_local = Notice::LOCAL_NONPUBLIC;
} else {
$stored->is_local = $is_local;
$stored->is_local = intval($is_local);
}
if (!$stored->isLocal()) {