The friend contact block wasn't displayed in the profile

This commit is contained in:
Michael 2017-11-11 05:23:28 +00:00
parent 037d6ac17b
commit cfdbd07628
2 changed files with 11 additions and 20 deletions

View file

@ -437,10 +437,7 @@ function event_store($arr) {
function get_event_strings() {
// First day of the week (0 = Sunday).
$firstDay = PConfig::get(local_user(), 'system', 'first_day_of_week');
if ($firstDay === false) {
$firstDay = 0;
}
$firstDay = PConfig::get(local_user(), 'system', 'first_day_of_week', 0);
$i18n = array(
"firstDay" => $firstDay,