aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-01-30 10:43:47 -0500
committerBrian Evans <grknight@gentoo.org>2018-01-30 10:43:47 -0500
commita7817026c2caa0dbf0f8961eb8f69f27a9c17f8e (patch)
treeabfd946606c9d8dcbb4ab456dc4260fef36947a8 /php/lib/forms.php
parentRemove unused function from the list lib (diff)
downloadbouncer-a7817026c2caa0dbf0f8961eb8f69f27a9c17f8e.tar.gz
bouncer-a7817026c2caa0dbf0f8961eb8f69f27a9c17f8e.tar.bz2
bouncer-a7817026c2caa0dbf0f8961eb8f69f27a9c17f8e.zip
Update comment in forms lib
Diffstat (limited to 'php/lib/forms.php')
-rw-r--r--php/lib/forms.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/php/lib/forms.php b/php/lib/forms.php
index 0317949..e435181 100644
--- a/php/lib/forms.php
+++ b/php/lib/forms.php
@@ -641,8 +641,8 @@ function url_out($url)
}
/**
- * Take a db_get result and return an array of options.
- * @param array $data db_get result
+ * Take a DB::get result and return an array of options.
+ * @param array $data DB::get result
* @param string $val_col column containing the value for each option
* @param string $name_col column containing the text
* @return array $options array of options ($val=>$text)
@@ -656,4 +656,3 @@ function db_get_to_options($data,$val_col,$name_col)
}
return $options;
}
-?>