Commit 54cfc08d5fd373b34fa4a91478fdc4885929e9fa
1 parent
2c71cf83
Exists in
master
and in
8 other branches
correct update THEMIS
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
src/REMOTEDATA/THEMIS.php
... | ... | @@ -119,14 +119,15 @@ class THEMIS extends RemoteDataCenterClass |
119 | 119 | $ViId = strtr(substr($dataset->getAttribute('xml:id'),7),":","_"); |
120 | 120 | $globalStart = $dataset->getAttribute('dataStart'); |
121 | 121 | $globalStop = $dataset->getAttribute('dataStop'); |
122 | + $info = explode("_",$ViId); | |
122 | 123 | echo $globalStart." ".$globalStop.PHP_EOL; |
123 | 124 | if ($this->baseMgr->viExists($ViId, $this->baseID)) { |
124 | 125 | // error_log |
126 | + $this->baseMgr->setViInfo($info[2]); | |
127 | + $this->baseMgr->setViLocation($this->baseID."/".$info[0], $info[1]."/".$info[2]."/"); | |
125 | 128 | $this->baseMgr->updateViStop($globalStop); |
126 | 129 | return; |
127 | 130 | } |
128 | - $info = explode("_", $ViId); | |
129 | - | |
130 | 131 | $this->baseMgr->setViId($ViId); |
131 | 132 | $rem_id = $dataset->getAttribute('rem_id').":".$info[2]; |
132 | 133 | $this->baseMgr->setRemoteViId($rem_id); |
... | ... |