whinis / eve-jacknife

An api auditing tool for EVE Online written in php, works with api keys or SSO access tokens.
http://evejackknife.com/
22 stars 12 forks source link

Uninitialized string offset error #23

Closed tjhoban closed 7 years ago

tjhoban commented 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) {

tjhoban commented 7 years ago

Meh, this patch has been mangled. I'll do it as a pull request.