fix: access first element of associative arrays
commit2689c55fe2e014e75205e639ea192a90a6aa8bd5
authorMichael Große <mic.grosse@googlemail.com>
Sun, 27 Aug 2017 17:28:14 +0000 (27 19:28 +0200)
committerMichael Große <mic.grosse@googlemail.com>
Sun, 27 Aug 2017 17:37:16 +0000 (27 19:37 +0200)
tree44e7bc5e0b66427593cf76f823a3c6dfcd9e57b7
parent5b60095ab8f87ddd3ab1bce20728f977ef18bab1
fix: access first element of associative arrays

This function might be called by an plugin with an array that has only
string keys and hence no key 0. This would trigger an PHP Notice when
trying to get the first key's level.
inc/html.php