aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-14 17:17:45 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-14 17:17:45 -0700
commit10406c6d152838ada20d9e85c1ec9277dd28e959 (patch)
tree517674a728356bc8ac51392ad1a90337c68c1dc6 /include/security.php
parente8f19c1e15f9ba728ca19222a62da602b862c77c (diff)
parent46aacfe64d317b5a38eea5495d72a1e734265b09 (diff)
downloadvolse-hubzilla-10406c6d152838ada20d9e85c1ec9277dd28e959.tar.gz
volse-hubzilla-10406c6d152838ada20d9e85c1ec9277dd28e959.tar.bz2
volse-hubzilla-10406c6d152838ada20d9e85c1ec9277dd28e959.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php
index e1f6cd556..7cc93fc06 100644
--- a/include/security.php
+++ b/include/security.php
@@ -418,6 +418,9 @@ function stream_perms_api_uids($perms = NULL, $limit = 0, $rand = 0 ) {
$str .= intval($rr);
}
}
+ else
+ $str = "''";
+
logger('stream_perms_api_uids: ' . $str, LOGGER_DEBUG);
return $str;
@@ -448,6 +451,9 @@ function stream_perms_xchans($perms = NULL ) {
$str .= "'" . dbesc($rr) . "'";
}
}
+ else
+ $str = "''";
+
logger('stream_perms_xchans: ' . $str, LOGGER_DEBUG);
return $str;