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

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