Forum

Unreachable code in...
 
Notifications
Clear all

Unreachable code in OrganizationBudgetElementCurrent model

2 Posts
2 Users
0 Reactions
2,750 Views
(@antonio-grr)
Posts: 84
Active Member
Topic starter
 
[#4341]

Hi.
In OrganizationBudgetElementCurrent the new save method added by Tabary starts with following lines
// Update total budget
$this->totalBudgetCost = $this->budgetCost + $this->expenseBudgetAmount;

$result=parent::save();
return $result;

After these lines, remaining code is unreachable.
Best regards


 
Posted : 11 May 2017 12H51
(@babynus)
Posts: 14952
Member Admin
 

You're right.
These line have been commented out , but I have to run some tests to check beside effect;)

Thanks for reporting.


 
Posted : 13 May 2017 22H02
Share:

Scroll to Top