fix bug in empty search and add POD note about empty search
This commit is contained in:
@@ -123,7 +123,7 @@ ajax '/ajax/content/search/node' => sub {
|
||||
->by_ip(param('archived'), $node);
|
||||
}
|
||||
}
|
||||
return unless $set->count;
|
||||
return unless $set and $set->count;
|
||||
|
||||
template 'ajax/search/node_by_ip.tt', {
|
||||
results => $set,
|
||||
|
||||
Reference in New Issue
Block a user