1 |
commit: a7817026c2caa0dbf0f8961eb8f69f27a9c17f8e |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 30 15:43:47 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 30 15:43:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/bouncer.git/commit/?id=a7817026 |
7 |
|
8 |
Update comment in forms lib |
9 |
|
10 |
php/lib/forms.php | 5 ++--- |
11 |
1 file changed, 2 insertions(+), 3 deletions(-) |
12 |
|
13 |
diff --git a/php/lib/forms.php b/php/lib/forms.php |
14 |
index 0317949..e435181 100644 |
15 |
--- a/php/lib/forms.php |
16 |
+++ b/php/lib/forms.php |
17 |
@@ -641,8 +641,8 @@ function url_out($url) |
18 |
} |
19 |
|
20 |
/** |
21 |
- * Take a db_get result and return an array of options. |
22 |
- * @param array $data db_get result |
23 |
+ * Take a DB::get result and return an array of options. |
24 |
+ * @param array $data DB::get result |
25 |
* @param string $val_col column containing the value for each option |
26 |
* @param string $name_col column containing the text |
27 |
* @return array $options array of options ($val=>$text) |
28 |
@@ -656,4 +656,3 @@ function db_get_to_options($data,$val_col,$name_col) |
29 |
} |
30 |
return $options; |
31 |
} |
32 |
-?> |