1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

Code cleanup

This commit is contained in:
Cameron
2015-04-01 23:01:04 -07:00
parent bacee553bc
commit b7e6837e34
5 changed files with 37 additions and 27 deletions

View File

@@ -35,8 +35,8 @@ $marray = e107::getDate()->terms('month');
// if nr of rows per month is not set, default to 3
$months_per_row = $pref['blogcal_mpr']?$pref['blogcal_mpr']:
"3";
$months_per_row = (!empty($pref['blogcal_mpr'])) ? $pref['blogcal_mpr']: "3";
$pref['blogcal_ws'] = "monday";
// -------------------------------------