UpdateCurrencyRate.php
authorEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:14:38 +0000 (15:14 +0800)
committerEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:14:38 +0000 (15:14 +0800)
UpdateCurrencyRate.php

index 997077e..e9bf112 100644 (file)
@@ -36,7 +36,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         
         $xpath = new DOMXpath($doc);
         
-        $elements = $xpath->query("//select[@name='exch']");
+        $elements = $xpath->query("//select[@name='exch']/options");
         
         foreach($elements as $el) {
             print_r($el);