This commit is contained in:
Alan Garcia 2014-01-21 17:42:21 +00:00
parent ee88b4b77d
commit 1140927f05
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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)."' );";
}