com web/doc: Why do I always have to miss something?: inc lude/lib_revcheck.inc.php

[email protected]
Newsgroups php.doc.web
Message-ID <[email protected]>
Commit:    53127115ca83df9fcdf669265e3b4dc0f7c6c3b9
Author:    Sobak <[email protected]>         Mon, 31 Mar 2014 09:34:53 +0200
Parents:   b28179fbd7a7023ac6b0eb29a36d7bb1fe7b5f72
Branches:  master

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

Log:
Why do I always have to miss something?

Changed paths:
  M  include/lib_revcheck.inc.php


Diff:
diff --git a/include/lib_revcheck.inc.php b/include/lib_revcheck.inc.php
index ff3805a..be78041 100644
--- a/include/lib_revcheck.inc.php
+++ b/include/lib_revcheck.inc.php
@@ -153,7 +153,11 @@ function get_outdated_translator_files($idx, $lang, $user)
 function revcheck_available_languages($idx)
 {
     $result = $idx->query('SELECT lang FROM description');
-    return $result->fetchArray(SQLITE3_NUM);
+    while ($row = $result->fetchArray(SQLITE3_NUM)) {
+		$tmp[] = $row[0];
+	}
+
+	return $tmp;
 }
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.