Fixed syntax error in transactions controller