Closed tjhoban closed 7 years ago
There is an error which keeps showing up in the apache logs:
[Thu Aug 10 22:45:33.134635 2017] [:error] [pid 5068] [client ::1:60808] PHP Notice: Uninitialized string offset: 0 in /var/www/html/eve.funcs.php on line 99,
patch to fix:
diff --git b/eve.funcs.php a/eve.funcs.php index 7621ecd..1755898 100644 --- b/eve.funcs.php +++ a/eve.funcs.php @@ -96,7 +96,7 @@ function locationTranslate($location) { }
function trimZeros($str) {
while($str[0] == '0')^M $str = substr($str, 1);
return $str;
Meh, this patch has been mangled. I'll do it as a pull request.
There is an error which keeps showing up in the apache logs:
[Thu Aug 10 22:45:33.134635 2017] [:error] [pid 5068] [client ::1:60808] PHP Notice: Uninitialized string offset: 0 in /var/www/html/eve.funcs.php on line 99,
patch to fix:
diff --git b/eve.funcs.php a/eve.funcs.php index 7621ecd..1755898 100644 --- b/eve.funcs.php +++ a/eve.funcs.php @@ -96,7 +96,7 @@ function locationTranslate($location) { }
function trimZeros($str) {
while($str[0] == '0')^M $str = substr($str, 1);
return $str;