X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=errors%2F404.pl;h=6f4cfcc3e0a5d824dab5057c4495fba026ebdc87;hb=126dfd54ec20c7153f2ee367d172a567c5849f79;hp=b1fb9f9b037c263e8a6c09617119e08170c794cb;hpb=b9ed528ab4bafb60585058f500f38c224fc351a6;p=koha.git diff --git a/errors/404.pl b/errors/404.pl index b1fb9f9b03..6f4cfcc3e0 100755 --- a/errors/404.pl +++ b/errors/404.pl @@ -12,24 +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; FIXME - Bug 2505 +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/404.tmpl", + template_name => 'errors/404.tmpl', query => $query, - type => "intranet", + type => 'intranet', authnotrequired => 1, debug => 1, }