>
> no active user. Perhaps you forgot to load C4::Auth and use
> get_template_and_user at /home/gmc/koha/dev/C4/Context.pm line 892.
>
>> +    $context->preference('insecure') and return {qw(
>> +       flags 16382
>> +       branchname Insecure
>> +       number 0
>> +       cardnumber 0
>> +       id Insecure
>> +       branch INS
>> +       emailaddress [email protected]
>> +    )};
>> +    die "no userenv without insecure mode";
>
> If you resubmit, please also make the hashref literal look like it
> actually contains a hash, not an array, i.e., I consider this more
> readable:
>
> ... and return {
>     flags => 16382,
>     branchname => 'Insecure',
>     # etc.
> }

agreed, this cryptic hashref confused me too

ive never seen such a thing
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to