[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][FIX] Admin Modules: Avoid TypeError on theme_navbar_fixed_topbar_offset

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <698243e7a4db6_3b18437c891a5@gitlab-sidekiq-low-urgency-cpu-bound-v2-7ffb9cb746-vbdfr.mail>

luci pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
0e6f2b69 by Landry Bitege at 2026-02-03T13:05:02+00:00
[BP][FIX] Admin Modules: Avoid TypeError on theme_navbar_fixed_topbar_offset
---
* [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

(cherry picked from commit 9149bc19d4642aa9ef9911e1fe513753a89eaf85)

See merge request tikiwiki/tiki!9436

- - - - -


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
         unset($headerlib->css[100][array_search('#c1c2 #wrapper #col1.marginright { margin-right: 0; }', $headerlib->css[100])]);
     }
     $smarty->assign('padding_top_layout', 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/0e6f2b69c307c911a51160c56bc4d3a8f7a69a79

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/0e6f2b69c307c911a51160c56bc4d3a8f7a69a79
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.