mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
parse error
This commit is contained in:
parent
779718e9f1
commit
b560f7b9ab
3 changed files with 4 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace Zotlabs\Lib;
|
||||
|
||||
use App;
|
||||
use Zotlabs\Access\Permissions;
|
||||
use Zotlabs\Daemon\Master;
|
||||
|
||||
|
|
|
@ -81,9 +81,8 @@ class Cal extends Controller {
|
|||
nav_set_selected('Calendar');
|
||||
|
||||
$sql_extra = permissions_sql($channel['channel_id'],get_observer_hash(),'event');
|
||||
|
||||
$first_day = get_pconfig(local_channel(),'system','cal_first_day');
|
||||
$first_day = (($first_day) ? $first_day : 0);
|
||||
|
||||
$first_day = intval(get_pconfig($channel['channel_id'],'system','cal_first_day',0));
|
||||
|
||||
$htpl = get_markup_template('event_head.tpl');
|
||||
\App::$page['htmlhead'] .= replace_macros($htpl,array(
|
||||
|
|
|
@ -314,8 +314,7 @@ class Events extends Controller {
|
|||
);
|
||||
}
|
||||
|
||||
$first_day = get_pconfig(local_channel(),'system','cal_first_day');
|
||||
$first_day = (($first_day) ? $first_day : 0);
|
||||
$first_day = intval(get_pconfig(local_channel(),'system','cal_first_day',0));
|
||||
|
||||
$htpl = get_markup_template('event_head.tpl');
|
||||
App::$page['htmlhead'] .= replace_macros($htpl,array(
|
||||
|
|
Loading…
Reference in a new issue