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

From: Date: Sat, 29 Mar 2014 05:58:46 +0000
Subject: com web/doc: Translators sorted alphabetically: include/lib_r evcheck.inc.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-2345@lists.php.net to get a copy of this message
Commit: c017cba7c89b73930debf0c8b57df13cfd55d496 Author: Sobak <msobaczewski@gmail.com> 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()) {

« previous php.doc.web (#2345) next »