History log of /plugin/condition/syntax.php (Results 1 – 6 of 6)
Revision Date Author Comments
# 46e822a4 21-Jan-2026 Gerry Weißbach <gerry.w@gammaproduction.de>

Fix require_once deprecation in syntax.php


# 1821ce0f 08-Aug-2025 dwightmulcahy <dwightmulcahy@gmail.com>

Fix deprecated syntax for PHP 7.4 compatibility


# c406d8d7 30-Nov-2017 Gerry Weißbach <gerry.w@gammaproduction.de>

Doku


# a9797ad3 02-Feb-2016 Andreas Gohr <andi@splitbrain.org>

Adjust method signatures to match parent


# 3b388494 18-Dec-2014 Daniel Fett <agtl@danielfett.de>

Fix bug when page does not contain a TOC

If this plugin is used in a page without a TOC (e.g., the sidebar), it produces the following error and does not show any content:

PHP Warning: array_mer

Fix bug when page does not contain a TOC

If this plugin is used in a page without a TOC (e.g., the sidebar), it produces the following error and does not show any content:

PHP Warning: array_merge(): Argument #1 is not an array in /var/www/dokuwiki/lib/plugins/condition/syntax.php on line 264

The change fixes this by moving the check to the right place.

show more ...


# 09b43617 22-Jan-2014 Gerry Weißbach <gerry.w@gammaproduction.de>

First commit.