[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Admin Modules: Avoid TypeError on theme_navbar_fixed_topbar_offset by...
Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6925123c5cafd_2a40215860948@gitlab-sidekiq-low-urgency-cpu-bound-v2-67497f577c-gvbgj.mail> |
Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
9149bc19 by Landry Bitege at 2025-11-25T02:11:42+00:00
[FIX] Admin Modules: Avoid TypeError on theme_navbar_fixed_topbar_offset by...
---
* [FIX] Admin Modules: Avoid TypeError on theme_navbar_fixed_topbar_offset by casting the preference to int before performing an operation
See merge request tikiwiki/tiki!8828
- - - - -
1 changed file:
- tiki-admin_modules.php
Changes:
=====================================
tiki-admin_modules.php
=====================================
@@ -635,7 +635,6 @@ if (! empty($_REQUEST['edit_module'])) { // pick up ajax calls
}
$smarty->assign('padding_top_layout', true);
$smarty->assign('layout_has_modules', true);
- $smarty->assign('theme_navbar_fixed_topbar_offset', $prefs["theme_navbar_fixed_topbar_offset"] + 35);
$smarty->assign('mid', 'tiki-admin_modules.tpl');
$smarty->display('tiki.tpl');
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9149bc19d4642aa9ef9911e1fe513753a89eaf85
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9149bc19d4642aa9ef9911e1fe513753a89eaf85
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs