diff options
author | INOPIAE <inopiae@cacert.org> | 2013-01-07 00:21:26 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-01-07 00:24:48 +0100 |
commit | 116d79fd89847a8856c5d577c03586338ace4f9c (patch) | |
tree | 4e6e64846f16120fb762fd7717e29d17b4128da8 | |
parent | 0f2ef2f94a72bd9d869c7e79674dc39f0bf0a71b (diff) | |
download | cacert-devel-116d79fd89847a8856c5d577c03586338ace4f9c.tar.gz cacert-devel-116d79fd89847a8856c5d577c03586338ace4f9c.tar.xz cacert-devel-116d79fd89847a8856c5d577c03586338ace4f9c.zip |
bug 893: replaced " by ' if possible
-rw-r--r-- | includes/temp_functions.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/includes/temp_functions.php b/includes/temp_functions.php index bd07127..5264881 100644 --- a/includes/temp_functions.php +++ b/includes/temp_functions.php @@ -54,9 +54,9 @@ function account_delete($id, $arbno, $adminid){ //deletes an account following the deleted account routnie V3 // called from www/account.php if($oldid == 50 && $process != "") //change password - $pool = "abcdefghijklmnopqrstuvwxyz"; - $pool .= "0123456789!()§"; - $pool .= "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + $pool = 'abcdefghijklmnopqrstuvwxyz'; + $pool .= '0123456789!()§'; + $pool .= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; srand ((double)microtime()*1000000); $password=""; for($index = 0; $index < 30; $index++) @@ -94,9 +94,9 @@ function account_delete($id, $arbno, $adminid){ mysql_query("update `alerts` set `radius`='1' where `memid`='$id'"); //set default location - $query = "update `users` set `locid`='2256755', `regid`='243', `ccid`='12' where `id`='".$id."'"; - mysql_query($query); - + $query = "update `users` set `locid`='2256755', `regid`='243', `ccid`='12' where `id`='".$id."'"; + mysql_query($query); + //clear listings $query = "update `users` set `listme`=' ',`contactinfo`=' ' where `id`='".$id."'"; mysql_query($query); |