X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fdeleteuser.php;h=52389123c5f76f56f6b2526ad0db6271f30af843;hb=769e5b7622445cf49cbaf5a416fb6b250b072866;hp=67aea7921c9782bcd6526c848d88940a31157714;hpb=54b22c0c0bb1e7f5fbbcf9035219b5ed07e1b80c;p=quix0rs-gnu-social.git diff --git a/scripts/deleteuser.php b/scripts/deleteuser.php index 67aea7921c..52389123c5 100644 --- a/scripts/deleteuser.php +++ b/scripts/deleteuser.php @@ -57,7 +57,7 @@ if (have_option('i', 'id')) { if (!have_option('y', 'yes')) { print "About to PERMANENTLY delete user '{$user->nickname}' ({$user->id}). Are you sure? [y/N] "; $response = fgets(STDIN); - if (strtolower($response) != 'y') { + if (strtolower(trim($response)) != 'y') { print "Aborting.\n"; exit(0); }