fix adding first subscription to pagespec
parent
dadc822295
commit
6c297c4097
|
@ -61,7 +61,8 @@ sub subscribe ($$) {
|
||||||
my $user=shift;
|
my $user=shift;
|
||||||
my $addpagespec=shift;
|
my $addpagespec=shift;
|
||||||
my $pagespec=getsubscriptions($user);
|
my $pagespec=getsubscriptions($user);
|
||||||
setsubscriptions($user, $pagespec." or ".$addpagespec);
|
setsubscriptions($user,
|
||||||
|
length $pagespec ? $pagespec." or ".$addpagespec : $addpagespec);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub notify (@) {
|
sub notify (@) {
|
||||||
|
|
Loading…
Reference in New Issue