* @file mod/events.php
* @brief The events module
*/
+
+use Friendica\App;
+
require_once 'include/bbcode.php';
require_once 'include/datetime.php';
require_once 'include/event.php';
$sh_checked = (($orig_event['allow_cid'] === '<' . local_user() . '>' && (! $orig_event['allow_gid']) && (! $orig_event['deny_cid']) && (! $orig_event['deny_gid'])) ? '' : ' checked="checked" ');
}
- if ($cid OR ($mode !== 'new')) {
+ if ($cid || ($mode !== 'new')) {
$sh_checked .= ' disabled="disabled" ';
}