projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f1d666
)
Finance/ISIN.php
author
leon
<leon@roojs.com>
Thu, 21 Dec 2023 08:02:38 +0000
(16:02 +0800)
committer
leon
<leon@roojs.com>
Thu, 21 Dec 2023 08:02:38 +0000
(16:02 +0800)
Finance/ISIN.php
patch
|
blob
|
history
diff --git
a/Finance/ISIN.php
b/Finance/ISIN.php
index
a5a01ff
..
82d40a9
100644
(file)
--- a/
Finance/ISIN.php
+++ b/
Finance/ISIN.php
@@
-12,7
+12,7
@@
class Finance_ISIN
static function getISIN($stockCode)
{
$ar = explode('.', $stockCode);
-
+
// invalid stock code
if(count($ar) != 2) {
return false;
@@
-28,6
+28,7
@@
class Finance_ISIN
include_once $file;
$cls = 'Finance_ISIN_' . $ar[1];
+ // update map if necessary
$cls::updateMap($stockCode);
// load the map if it is not loaded