]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/fixup_utf8.php
replace 'public' in documentation with 'top'
[quix0rs-gnu-social.git] / scripts / fixup_utf8.php
index 30befadfd4aced4786a0d9f50501e78a84a4892a..796021b72136655ee4b9a60d64070efde58eb8e8 100755 (executable)
@@ -18,7 +18,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-# Abort if called from a web server
+// Abort if called from a web server
 
 define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
 
@@ -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';