]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/deleteuser.php
Localisation updates from translatewiki.net (2009-11-06)
[quix0rs-gnu-social.git] / scripts / deleteuser.php
index 67aea7921c9782bcd6526c848d88940a31157714..52389123c5f76f56f6b2526ad0db6271f30af843 100644 (file)
@@ -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);
     }