make lockview work, bring back acl widget theming in redbasic
This commit is contained in:
@@ -1798,9 +1798,11 @@ function magic_link($s) {
|
||||
return $s;
|
||||
}
|
||||
|
||||
function stringify_array_elms(&$arr) {
|
||||
// if $escape is true, dbesc() each element before adding quotes
|
||||
|
||||
function stringify_array_elms(&$arr,$escape = false) {
|
||||
for($x = 0; $x < count($arr); $x ++)
|
||||
$arr[$x] = "'" . $arr[$x] . "'";
|
||||
$arr[$x] = "'" . (($escape) ? dbesc($arr[$x]) : $arr[$x]) . "'";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user