little changes here-n-there
This commit is contained in:
parent
279cb24cbe
commit
b35848179c
2 changed files with 2 additions and 1 deletions
|
|
@ -276,6 +276,7 @@ sub manage {
|
|||
next if $object->get('isDeleted'); # because the ad is deleted... all we could show is the 'deleted' text...
|
||||
next if exists $ads{$object->get('adId')};
|
||||
my $ad = $ads{$object->get('adId')} = WebGUI::AdSpace::Ad->new($session,$object->get('adId'));
|
||||
next if undef $ad; # TODO not sure why we get here...
|
||||
push @{$var{myAds}}, {
|
||||
rowTitle => $ad->get('title'),
|
||||
rowClicks => $ad->get('clicks') . '/' . $ad->get('clicksBought'),
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ sub definition {
|
|||
defaultValue=>1
|
||||
},
|
||||
defaultValue=>{
|
||||
defaultValue=>[1]
|
||||
defaultValue=>[]
|
||||
},
|
||||
});
|
||||
return $class->SUPER::definition($session, $definition);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue