Wrapping an if expression in parenthesis is required in PHP.

On Aug 26, 2013, at 1:17 PM, Fred Wenzel <notifications@github.com> wrote:

> In bouncer/php/index.php:
> 
> > @@ -58,6 +37,16 @@
> >      );
> >      $sdo = new SDO2($mc, $dbwrite);
> >  
> > +
> > +    // New alias code for bug 863381
> > +    $alias_sql = 'SELECT * FROM mirror_aliases WHERE alias = ?';
> > +    $alias = $sdo->get_one($alias_sql, array($product_name), SDO2::FETCH_ASSOC);
> > +    if($alias) {
> might be a matter of personal preference, but if is not a function :)
> 
> —
> Reply to this email directly or view it on GitHub.
>