diff options
-rw-r--r-- | usr/local/www/system_usermanager_addprivs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_usermanager_addprivs.php b/usr/local/www/system_usermanager_addprivs.php index 5946db8..c7e1d3a 100644 --- a/usr/local/www/system_usermanager_addprivs.php +++ b/usr/local/www/system_usermanager_addprivs.php @@ -136,7 +136,7 @@ if (is_array($priv_list)) { foreach($priv_list as $pname => $pdata) { if (in_array($pname, $a_user['priv'])) continue; - $desc = addslashes($pdata['descr']); + $desc = addslashes(preg_replace("/pfSense/i", $g['product_name'], $pdata['descr'])); $jdescs .= "descs[{$id}] = '{$desc}';\n"; $id++; } |