com web/doc: Translators sorted alphabetically: include/lib_r evcheck.inc.php

[email protected]
Newsgroups php.doc.web
Message-ID <[email protected]>
Commit:    c017cba7c89b73930debf0c8b57df13cfd55d496
Author:    Sobak <[email protected]>         Sat, 29 Mar 2014 06:58:46 +0100
Parents:   308eefcfa33ae20ab5a35fa119eb9f73486f1e3f
Branches:  master

Link:       http://git.php.net/?p=web/doc.git;a=commitdiff;h=c017cba7c89b73930debf0c8b57df13cfd55d496

Log:
Translators sorted alphabetically

Changed paths:
  M  include/lib_revcheck.inc.php


Diff:
diff --git a/include/lib_revcheck.inc.php b/include/lib_revcheck.inc.php
index 6d3f155..4b744b4 100644
--- a/include/lib_revcheck.inc.php
+++ b/include/lib_revcheck.inc.php
@@ -426,14 +426,7 @@ function translator_get_uptodate($idx, $lang)
 
 function get_translators($idx, $lang)
 {
-    $sql = 'SELECT
-                nick,
-                t.name as name,
-                mail,
-                svn
-            FROM
-                translators t
-                WHERE lang="' . $lang . '"';
+    $sql= "SELECT nick, name, mail, svn FROM translators WHERE lang = '$lang' ORDER BY nick COLLATE NOCASE";
     $persons = array();
     $result = $idx->query($sql);
     while ($r = $result->fetchArray()) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.