MDL-43575 Libraries Google_CurlIO ext, typo in the overridden setOption().
authorMatteo Scaramuccia <moodle@matteoscaramuccia.com>
Mon, 30 Dec 2013 17:51:25 +0000 (18:51 +0100)
committerMatteo Scaramuccia <moodle@matteoscaramuccia.com>
Mon, 13 Jan 2014 20:29:23 +0000 (21:29 +0100)
lib/google/curlio.php

index 654b9de..f3da219 100644 (file)
@@ -172,7 +172,7 @@ class moodle_google_curlio extends Google_CurlIO {
             if (!is_string($name)) {
                 $name = $this->get_option_name_from_constant($name);
             }
             if (!is_string($name)) {
                 $name = $this->get_option_name_from_constant($name);
             }
-            $safeParams[$name] = $vale;
+            $safeParams[$name] = $value;
         }
         parent::setOptions($safeParams);
     }
         }
         parent::setOptions($safeParams);
     }