Preview problem in dfWiki

Re: Preview problem in dfWiki

by Laura Malmi -
Number of replies: 0

This problem might come from using PHP 5.0.5 or later.. Only variables can be passed to function calls, not the output of function.

In dfwikilib.php on line 266 there is:
dfwiki_print_page_content (stripslashes($dfform['content']));

Changing it like this should fix the preview problem:
$stripslashes = stripslashes($dfform['content']);
dfwiki_print_page_content ($stripslashes);

- Laura