Skip to content

Commit

Permalink
Fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
korczis committed Aug 27, 2015
1 parent a6104c1 commit caf343a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/gooddata/models/metadata/dashboard_tab.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ def initialize(dashboard, json)
@json = json
end

def create_report_item(report)
def create_report_item(item)
report = item[:report]

new_item_json = {
:reportItem => {
:obj => report.uri,
Expand Down

0 comments on commit caf343a

Please sign in to comment.