Changeset 1341

Show
Ignore:
Timestamp:
08/11/08 18:24:13 (4 months ago)
Author:
alban
Message:

Fixe create_user_google_analytics_account quand le show courant n'est pas defini

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/controllers/public_controller.rb

    r1338 r1341  
    9494 
    9595  def create_user_google_analytics_account 
    96     user_tracker_id = (@show.host and @show.host.google_analytics_tracker_id) 
     96    user_tracker_id = (@show and @show.host and @show.host.google_analytics_tracker_id) 
    9797 
    9898    unless user_tracker_id.blank?