Fix #8012 - paris exchange
authorAlan <alan@roojs.com>
Tue, 6 Feb 2024 03:07:39 +0000 (11:07 +0800)
committerAlan <alan@roojs.com>
Tue, 6 Feb 2024 03:07:39 +0000 (11:07 +0800)
Finance/ISIN.php

index 8fd85d8..2013370 100644 (file)
@@ -15,14 +15,15 @@ class Finance_ISIN
                 case 'NYSE':
                 case 'NASDAQ':
                     return $this->getExchangeISIN($stockcode, $exchange);
-                case 'PA':
-                    return $this->getExchangeISIN($stockcode, 'EURONEXT');
                 default:
                     return false;
                 
             }
             
         }
+        if ($ar[1] == 'PA') {
+              return $this->getExchangeISIN($stockcode, 'EURONEXT');
+        }
 
         // get isin by location