Bugfixes
This commit is contained in:
parent
ee88b4b77d
commit
1140927f05
|
@ -587,7 +587,7 @@ class m_admin {
|
|||
*/
|
||||
function hook_admin_add_member() {
|
||||
global $err, $cuid, $L_FQDN, $L_HOSTING;
|
||||
$dest = variable_get('new_email');
|
||||
$dest = variable_get('new_email', 0, 'An email will be sent to this address when new accounts are created if set.');
|
||||
if (!$dest) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -216,7 +216,7 @@ class m_variables {
|
|||
'".mysql_real_escape_string($var_name)."',
|
||||
'".mysql_real_escape_string($var_value)."',
|
||||
'".mysql_real_escape_string($strata)."',
|
||||
'".mysql_real_escape_string($strata_id)."',
|
||||
".( is_null($strata_id)?'null':"'".mysql_real_escape_string($strata_id)."'").",
|
||||
'".mysql_real_escape_string($comment)."' );";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue