#1617 default value for lib/wiki-plugins/wikiplugin_box.php

HEAD_(CVS)
closed-fixed
nobody
PHP Error (166)
5
2014-08-23
2004-08-19
No

It's trivial but since the help page says it's
optional, maybe it's better to set default value to
avoid "undefined variable" error.

Line 22

/\* set default values for some args \*/
$title = tra\("Message box"\);
$align = "left";
$width = "100%";
$bg = "white";

Discussion

  • Philippe Cloutier

    Logged In: YES
    user_id=738765

    Thanks for reporting, this is now fixed in HEAD (note that
    this bug only applied to HEAD, after a rewrite was done
    recently).

     
  • Philippe Cloutier

    • milestone: 420332 --> HEAD_(CVS)
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks