]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix a few typos
authorRasmus Lerdorf <rasmus@as1410.(none)>
Wed, 3 Mar 2010 00:07:35 +0000 (16:07 -0800)
committerCraig Andrews <candrews@integralblue.com>
Fri, 5 Mar 2010 04:30:04 +0000 (23:30 -0500)
actions/recoverpassword.php
scripts/fixup_utf8.php

index dcff35f6ed32dddc72da3689c0cb4456c92428ef..1e2775e7a75f0290734f2578c07889bca6dd98d2 100644 (file)
@@ -21,7 +21,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
 
 # You have 24 hours to claim your password
 
-define(MAX_RECOVERY_TIME, 24 * 60 * 60);
+define('MAX_RECOVERY_TIME', 24 * 60 * 60);
 
 class RecoverpasswordAction extends Action
 {
index 30befadfd4aced4786a0d9f50501e78a84a4892a..2af6f9cb047643e838116d293d5c1a57cdb70e04 100755 (executable)
@@ -249,7 +249,7 @@ class UTF8FixerUpper
         $sql = 'SELECT id, fullname, location, description FROM user_group ' .
           'WHERE LENGTH(fullname) != CHAR_LENGTH(fullname) '.
           'OR LENGTH(location) != CHAR_LENGTH(location) '.
-          'OR LENGTH(description) != CHAR_LENGTH(description) ';
+          'OR LENGTH(description) != CHAR_LENGTH(description) '.
           'AND modified < "'.$this->max_date.'" '.
           'ORDER BY modified DESC';