X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=UpdateCurrencyRate.php;h=0c0fe04d6b6cfb5c4b7596f8e8938230ddf5866d;hp=298d069a5bc652109f8c5652708bb5fd982b206e;hb=refs%2Fheads%2Fwip_alan_T5884_add_photo_to_report;hpb=f1ce992dbc219c385f8488b138e47565a679deda diff --git a/UpdateCurrencyRate.php b/UpdateCurrencyRate.php index 298d069a..0c0fe04d 100644 --- a/UpdateCurrencyRate.php +++ b/UpdateCurrencyRate.php @@ -31,7 +31,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman die("NOT ALLOWED"); } - function get($args, $opts) + function get($args, $opts=array()) { //DB_DataObject::DebugLevel(1); @@ -40,15 +40,11 @@ class Pman_Core_UpdateCurrencyRate extends Pman $hkd = $d->convert(1,'USD','HKD'); - echo "1 USD is ~ $hkd HKD (should be aobut 7.75)\n "; + echo "1 USD is ~ $hkd HKD (should be about 7.75)\n "; die("done"); - - - - - + } function oldversion()