Skip to content

Commit

Permalink
Fix for TFS 1.4.2 where conditions is NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Dec 29, 2024
1 parent b0c8cf2 commit b8396d4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions system/libs/pot/OTS_Player.php
Original file line number Diff line number Diff line change
Expand Up @@ -1752,11 +1752,6 @@ public function setSave($save = 1)
*/
public function getConditions()
{
if( !isset($this->data['conditions']) )
{
throw new E_OTS_NotLoaded();
}

return $this->data['conditions'];
}

Expand Down

0 comments on commit b8396d4

Please sign in to comment.