X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=errors%2F400.pl;h=122a1fe1270f64430063e743df21666ac164ccd6;hb=5d6c092921919526ade501facb1220f8a108a08f;hp=b04b7fdf73d10df290a39d0d16e83a037ffc0364;hpb=de94e449cdb7bb3f92534fa455feb6ddc480e17b;p=koha_fer diff --git a/errors/400.pl b/errors/400.pl index b04b7fdf73..122a1fe127 100755 --- a/errors/400.pl +++ b/errors/400.pl @@ -12,23 +12,24 @@ # A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA use strict; +use warnings; use CGI; use C4::Auth; use C4::Output; use C4::Context; -my $query = new CGI; +my $query = CGI->new; my $admin = C4::Context->preference('KohaAdminEmailAddress'); my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { - template_name => "errors/400.tmpl", + template_name => 'errors/400.tmpl', query => $query, - type => "intranet", + type => 'intranet', authnotrequired => 1, debug => 1, }