UpdateCurrencyRate.php
[Pman.Core] / UpdateCurrencyRate.php
index bcf2dbe..bb1b12e 100644 (file)
@@ -11,7 +11,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         'procedures-only' => array(
             'desc' => 'Only run procedures and return',
             'short' => 'p',
-            'default' => false,
+            'default' => '',
             'min' => 1,
             'max' => 1,
         ),
@@ -38,6 +38,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman
     
     function get($args, $opts)
     {   
+        print_R($opts);exit;
         $currency = array();
         
         $response = $this->curl($this->actionUrl, array(), 'GET');