[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP] Tiki Webmail: Fix Undefined array key "page" in wikiplugin_cypht.php

"Baraka Kinywa \(@bkinywa24\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68e6544eb65b6_2ce004c92024@gitlab-sidekiq-low-urgency-cpu-bound-v2-74bd687556-cvhbz.mail>

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


Commits:
1d345e2e by Grace Nshokano at 2025-10-08T15:02:01+03:00
[BP] Tiki Webmail: Fix Undefined array key "page" in wikiplugin_cypht.php
---
* Tiki Webmail: Fix Undefined array key "page" in wikiplugin_cypht.php
---
* [FIX]: fix cypht undefine page

See merge request tikiwiki/tiki!8433

(cherry picked from commit 8c70bd90bffbdbe43be35763b186bd5b4e4dc526)

See merge request tikiwiki/tiki!8738

- - - - -


1 changed file:

- lib/wiki-plugins/wikiplugin_cypht.php


Changes:

=====================================
lib/wiki-plugins/wikiplugin_cypht.php
=====================================
@@ -256,12 +256,6 @@ function wikiplugin_cypht($data, $params)
         return tr("Cypht already started.");
     }
 
-    if (TikiLib::lib('wiki')->get_page_by_slug($_GET['page']) == $page && $prefs['feature_sefurl'] !== 'y') {
-        TikiLib::lib('access')->redirect('tiki-index.php?page_id=' . $tikilib->get_page_id_from_name($page));
-    } elseif ($prefs['feature_sefurl'] === 'y' && ! empty($_GET['page_id'])) {
-        TikiLib::lib('access')->redirect(TikiLib::lib('wiki')->sefurl($page));
-    }
-
     static $called = false;
     if ($called) {
         return tr("Only one cypht plugin per page can be used.");



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1d345e2e9cd4b5db6a72e09f714da3bd01fc50cc

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1d345e2e9cd4b5db6a72e09f714da3bd01fc50cc
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.