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

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