[pmwiki-users] warnings generated by FixFlow skin
Piotr Dybczyński
piotr at dybczynski.pl
Fri Sep 12 08:12:19 PDT 2025
Hi all,
In the latest version of the FixFlow skin there exist a script named:
searchbox2.php
There are lines in it:
if(isset($opt['target'])) $target = MakePageName($pagename,
$opt['target']);
else $target = $pagename;
$out = FmtPageName(" class='wikisearch' action='\$PageUrl'
method='get'>", $target);
$opt['n'] = IsEnabled($EnablePathInfo, 0) ? '' : $target;
which generate following warnings:
PHP Warning: Undefined array key "target" in
/home/var_www/WikiPub/pmwiki/pub/skins/triad/searchbox2.php on line 20
Could you give me a hint how to repair this?
I use PmWiki for decades but still do not understand PHP :)
Thanks in advance,
Piotr
--
/***********************************************************************
dr Piotr A. Dybczyński
homepage: https://www.dybczynski.pl/Piotr
e-mail: piotr at dybczynski.pl
*****************************************************************PAD***/
More information about the pmwiki-users
mailing list