finance helper model update

This commit is contained in:
2018-12-13 02:08:33 -06:00
parent 4a69abff9a
commit 4626b1a6a0
+2 -2
View File
@@ -68,7 +68,7 @@ class CorpJournal extends Command
foreach($structures as $structure) {
foreach($finishedCorps as $finished) {
if($finished == $structure->corporation_id) {
$this->line('Finished Journal for ' . $structure->corporation_name . '\n');
$this->line('Finished Journal for ' . $structure->corporation_name);
$corpCompleted = true;
break;
} else {
@@ -80,7 +80,7 @@ class CorpJournal extends Command
}
//If we didn't find the corporation was already done, then complete it.
if($corpCompleted === false) {
$this->line('Getting Journal for ' . $structure->corporation_name . '\n');
$this->line('Getting Journal for ' . $structure->corporation_name);
$this->GetJournal($structure->character_id);
$finishedCorps[sizeof($finishedCorps)] = $structure->corporation_id;
//After the corporation has been done set the variable back to false