added spaces + used x ()

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Haeder
2017-04-01 21:46:57 +02:00
parent 60552260e1
commit 3cea176ef2
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;
}