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

From: Date: Mon, 31 Mar 2014 07:34:53 +0000
Subject: com web/doc: Why do I always have to miss something?: inc lude/lib_revcheck.inc.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-2355@lists.php.net to get a copy of this message
Commit: 53127115ca83df9fcdf669265e3b4dc0f7c6c3b9 Author: Sobak <msobaczewski@gmail.com> 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; }

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