From adfb2d2afab2b017db7006fcb7808d66aa2ef411 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 28 Aug 2017 10:35:37 +0000
Subject: [PATCH] Fixes for PHP 7.0 compatibility
---
inwentaryzacja/save.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/inwentaryzacja/save.php b/inwentaryzacja/save.php
index f71f668..020b9f2 100644
--- a/inwentaryzacja/save.php
+++ b/inwentaryzacja/save.php
@@ -1,6 +1,8 @@
<?php
function errorHandler($errno, $errstr, $errfile, $errline) {
header('HTTP/1.1 500 Internal Server Error');
+ echo $errstr;
+ die();
}
set_error_handler('errorHandler');
--
Gitblit v1.9.1