Results 1 to 6 of 6

Thread: Escort-Templates: Fatal Bug in Yes/No-Fields (bool)

Threaded View

  1. #1

    Escort-Templates: Fatal Bug in Yes/No-Fields (bool)

    Hi Flynaxers,

    I'd found a fatal bug in the templates of the Escort-Version (4.1):

    I you create a Yes/No-Field than it won't be stored in the database!!!!

    Class rlFields.class.php (subdir admin) around line 245:
    PHP Code:
    Only registered members can view the code
    You define here the database field as an ENUM. How ever that's o.k.

    In the templates (for example the reg_account.tpl around line 222) this code:
    Code:
    Only registered members can view the code.
    You can see that in the template-code are the words "on" and "off" defined.
    Replace "on" ==> "1" and "off" ==> "0"

    It should be looks like:
    Code:
    Only registered members can view the code.
    This must be changed in ALL template files related with bool fields.

    The same bug is also in the new "Escort Sun Cocktail"-templates!!

    Please update the templates ASAP. Changing the core-code (classes etc.) will end in more work like database update etc.

    Regards
    J. Mainka
    Last edited by Juergen Mainka; May 26, 2013 at 01:41 AM. Reason: Corrected HTML-Code inserted.