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

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68e523c1854b4_2cdf46c403f@gitlab-sidekiq-low-urgency-cpu-bound-v2-d955ff655-x4n2l.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
8c70bd90 by Grace Nshokano at 2025-10-07T14:19:37+00:00
Tiki Webmail: Fix Undefined array key "page" in wikiplugin_cypht.php
---
* [FIX]: fix cypht undefine page

See merge request tikiwiki/tiki!8433

- - - - -


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/8c70bd90bffbdbe43be35763b186bd5b4e4dc526

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