]> git.pld-linux.org Git - packages/php-pear-HTML_Select.git/commitdiff
- make it lower-case
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 9 Aug 2004 13:00:26 +0000 (13:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-HTML_Select-case.patch -> 1.1

php-pear-HTML_Select-case.patch [new file with mode: 0644]

diff --git a/php-pear-HTML_Select-case.patch b/php-pear-HTML_Select-case.patch
new file mode 100644 (file)
index 0000000..8299df1
--- /dev/null
@@ -0,0 +1,29 @@
+--- ./Select.php.org   Thu Feb 26 15:15:04 2004
++++ ./Select.php       Mon Aug  9 14:57:26 2004
+@@ -157,7 +157,7 @@
+     function loadArray($arr, $values=null)
+     {
+         if (!is_array($arr)) {
+-            return new PEAR_ERROR('First argument to HTML_Select::loadArray is not a valid array');
++            return new PEAR_Error('First argument to HTML_Select::loadArray is not a valid array');
+         }
+         if (isset($values)) {
+             $this->setSelectedValues($values);
+@@ -182,7 +182,7 @@
+     function loadValueArray($arr, $values = null)
+     {
+         if (!is_array($arr)) {
+-            return new PEAR_ERROR("First argument to HTML_Select::loadArray is not a valid array");
++            return new PEAR_Error("First argument to HTML_Select::loadArray is not a valid array");
+         }
+         if (isset($values)) {
+             $this->setSelectedValues($values);
+@@ -213,7 +213,7 @@
+         
+         if (!is_object($result) || (strtolower(get_class($result)) != "db_result" && 
+             is_subclass_of($result, "db_result"))) {
+-            return new PEAR_ERROR("First argument to HTML_Select::loadDbResult is not a valid DB_result");
++            return new PEAR_Error("First argument to HTML_Select::loadDbResult is not a valid DB_result");
+         }
+          if (isset($values)) {
+             $this->setSelectedValues($values);
This page took 0.277412 seconds and 4 git commands to generate.