hush-hush ultra top-secret mode

This commit is contained in:
friendica
2012-11-11 19:12:20 -08:00
parent 093ab7177a
commit 9fd2c2dd8a
3 changed files with 18 additions and 4 deletions

View File

@@ -341,7 +341,12 @@ function sanitise_acl(&$item) {
if(! function_exists('perms2str')) {
function perms2str($p) {
$ret = '';
$tmp = $p;
if(is_array($p))
$tmp = $p;
else
$tmp = explode(',',$p);
if(is_array($tmp)) {
array_walk($tmp,'sanitise_acl');
$ret = implode('',$tmp);