]> git.pld-linux.org Git - packages/php.git/commitdiff
- change case of called classes
authorPaweł Gołaszewski <blues@pld-linux.org>
Fri, 12 Jul 2002 17:42:29 +0000 (17:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-cosmetic.patch -> 1.1

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

diff --git a/php-pear-cosmetic.patch b/php-pear-cosmetic.patch
new file mode 100644 (file)
index 0000000..e3bdf59
--- /dev/null
@@ -0,0 +1,29 @@
+--- ./pear/HTML/Select.php.org Fri Jul 12 19:39:28 2002
++++ ./pear/HTML/Select.php     Fri Jul 12 19:39:20 2002
+@@ -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) || (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.045467 seconds and 4 git commands to generate.