X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_user.php;h=ce84588bad234c8522f61b612152a6f4bf5621e7;hb=2142149f3f72f1a2476f95a87937c044d63bbaf2;hp=5a2cd5ebaae1d401ac3b76a280be96b69670f3b2;hpb=e5ae148596850b078c6df0878d1527b40eee33ac;p=mailer.git
diff --git a/inc/modules/admin/what-list_user.php b/inc/modules/admin/what-list_user.php
index 5a2cd5ebaa..ce84588bad 100644
--- a/inc/modules/admin/what-list_user.php
+++ b/inc/modules/admin/what-list_user.php
@@ -42,14 +42,13 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
}
// Add description as navigation point
-ADD_DESCR("admin", basename(__FILE__));
+ADD_DESCR("admin", __FILE__);
// Init title with "all accounts"
$listHeader = ADMIN_ALL_ACCOUNTS;
if (!empty($_GET['mode'])) {
// Set title according to the "mode"
- $eval = sprintf("\$listHeader = ADMIN_LIST_%s_ACCOUNTS;", strtoupper(SQL_ESCAPE($_GET['mode'])));
- eval($eval);
+ $listHeader = constant(sprintf("ADMIN_LIST_%s_ACCOUNTS", strtoupper(SQL_ESCAPE($_GET['mode']))));
} // END - if
// Remember it
@@ -226,7 +225,7 @@ WHERE userid=%s LIMIT 1",
'gender' => TRANSLATE_GENDER($gender),
'sname' => $sname,
'fname' => $fname,
- 'email' => "".$email."]",
+ 'email' => "[".$email."]",
'addr' => $IP,
'ref' => $ref,
'status' => TRANSLATE_STATUS($status),