Changeset 10
- Timestamp:
- 2007-10-26 11:16:37 (1 year ago)
- Files:
-
- trunk/irstats/perl_lib/IRStats/GUI/dashboard.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/irstats/perl_lib/IRStats/GUI/dashboard.pm
r1 r10 65 65 die "$set_member_code is not a member of the $set set. This may be because you entered your query data incorrectly or because $set_member_code has not yet been imported into irstats."; 66 66 } 67 elsif( not$conf->is_set( $set_views_dashboard ) )67 if( $conf->is_set( $set_views_dashboard ) ) 68 68 { 69 die "$set has no views configured. You need to add a list of views to the ${set}_dashboard setting in the configuration file.";69 @set_views = $conf->$set_views_dashboard; 70 70 } 71 71 $short_citation = $database->get_citation($set_member_id, $set, 'short'); 72 72 $full_citation = $database->get_citation($set_member_id, $set, 'full'); 73 73 $url = $database->get_url($set_member_id, $set); 74 @set_views = $conf->$set_views_dashboard;75 74 } 76 75
