[koha-commits] main Koha release repository branch new/bug_8490 created. v3.08.00-1166-g7002e5d

Git repo owner gitmaster at git.koha-community.org
Mon Nov 5 14:44:42 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, new/bug_8490 has been created
        at  7002e5d86af573359700d582c829af83acf87bc5 (commit)

- Log -----------------------------------------------------------------
commit 7002e5d86af573359700d582c829af83acf87bc5
Author: Paul Poulain <paul.poulain at biblibre.com>
Date:   Fri Nov 2 12:16:19 2012 +0100

    Bug 8490: fix Plack error when creating label layout
    
    This patch fixes "Error message "Can't bless non-reference value at
    /home/pi/koha/C4/Creators/Layout.pm line 111." when trying to add a
    label layout while using plack."
    
    The $layout_id variable is set to 5001 on my setup. And 5001 is the Unix
    port where I run Plack. WTH is this value stored in this variable ?
    Because of
    > my $layout_id = $cgi->param('layout_id') || $cgi->param('element_id') || $ARGV[1] || '';
    in label-edit-layout.pl
    
    Removing $ARGV[1] solves the problem
    Also removing $ARG[0] because I also don't think it's useful
    
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
    Signed off after confirming with Chris Nighswonger that these scripts
    were not intended to be run from the command line. Works as promised.
    
    Passed-QA-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

-----------------------------------------------------------------------


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list