diff --git a/classes/Notice.php b/classes/Notice.php index 71c3690a0c..1b6edb4cd3 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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()) {