Topic: Recommended change on include/common.php

Just installed a fresh PunBB on my localhost and encountered a problem that does not happen on FluxBB 1.2.

Change this (include/common.php)

// Turn off magic_quotes_runtime
set_magic_quotes_runtime(0);

to this

// Turn off magic_quotes_runtime
if (get_magic_quotes_runtime())
    set_magic_quotes_runtime(0);

Not my code by the way it's the way FluxBB does it.

Re: Recommended change on include/common.php

Thanks for reporting, fixed.