simple php preview_cgi.php fix

this is a fix for the damaged preview feature (pre-post) in simple php blog (i am using version 4.4, not sure about any other versions):

open file preview_cgi.php
goto line 48 (default):
$str = $str . '<option label="' . $label' . value="' . $id_number . '">' . $label . "</option>\n";

line 48 should say:
$str = $str . '<option label="' . $label . '" value="' . $id_number . '">' . $label . "</option>\n";

«
»

    Leave a Reply

    Your email address will not be published. Required fields are marked *