Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter thicket

    (@thicket)

    Haven’t got them all yet – in V 1.0.3 in magic-Maps.php

    line:214 still has php short open tag
    line:222 still has php short open tag

    Still the uninitialised variable:

    function enable_description(){
        $enable_description = get_option('enabledescription');
        /* uninitialised variable
        $html = '<input type="checkbox" id="Enabledescription"    name="Enabledescription" value="1"'.checked( 1, $enable_description['Enabledescription'], false ) .' />';
        */
        // --- my change
        $checked = empty($enable_description) ? '' : ' checked ';
        $html = '<input type="checkbox" id="EnableDescription" name="EnableDescription" value="1"' . $checked . '/>';
        // --- end of change
    
        $html .= '<label for="checkbox_example">Display or hide Info window</label>';
        echo $html;
    }

Viewing 1 replies (of 1 total)