Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
change syntax to query config - fixes #1135 (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst authored and simonschaufi committed May 19, 2018
1 parent 53292f9 commit ee57baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/ki_timesheets/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
$view->assign('showRates', isset($kga['user']) && $database->global_role_allows($kga['user']['globalRoleID'], 'ki_timesheets-showRates'));

$defaults = [
'table_time_format' => $kga['conf']['table_time_format']
'table_time_format' => $kga->getTableTimeFormat()
];
$prefs = $database->user_get_preferences_by_prefix('ui.');
$view->assign('prefs', array_merge($defaults, $prefs));
Expand Down

0 comments on commit ee57baf

Please sign in to comment.