[bugzilla-gnome-org-extensions] product interests: Fix small style issue



commit 7bf321a93516db3070221362698088a7861f9738
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Sat Nov 8 19:23:34 2014 +0100

    product interests: Fix small style issue

 ProductInterests/lib/User.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ProductInterests/lib/User.pm b/ProductInterests/lib/User.pm
index 99c8503..3a06f18 100644
--- a/ProductInterests/lib/User.pm
+++ b/ProductInterests/lib/User.pm
@@ -30,7 +30,7 @@ use Bugzilla::Extension::ProductInterests::Util;
 sub product_interests {
     my $self = shift;
 
-    return $self->{p_i()} if defined $self->{p_i()};
+    return $self->{p_i()} if defined ($self->{p_i()});
     return [] unless $self->id;
 
     my $product_ids = Bugzilla->dbh->selectcol_arrayref(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]