1
0
Fork 0

added spaces + used x ()

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-04-01 21:46:57 +02:00
commit 3cea176ef2
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
2 changed files with 5 additions and 4 deletions

View file

@ -1450,7 +1450,7 @@ function get_app() {
*/
function x($s,$k = NULL) {
if ($k != NULL) {
if ((is_array($s)) && (array_key_exists($k,$s))) {
if ((is_array($s)) && (array_key_exists($k, $s))) {
if ($s[$k]) {
return (int) 1;
}