Skip to content

Commit

Permalink
Avoid PHP Notice Undefined variable
Browse files Browse the repository at this point in the history
* Remove unnecessary variable that is uninitialized anyway
Closes #1355, closes #1356
  • Loading branch information
petdance authored and ginatrapani committed Jul 18, 2012
1 parent 6ed1e29 commit 27f6414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/_lib/model/class.InstanceMySQLDAO.php
Expand Up @@ -78,7 +78,7 @@ public function getActiveInstancesStalestFirstForOwnerByNetworkNoAuthError( Owne
$q .= "AND oi.owner_id = :owner_id ";
}
$q .= "AND is_active = 1 ";
$q .= "ORDER BY crawler_last_run ".$order;
$q .= "ORDER BY crawler_last_run";
$vars = array(
':network'=>$network
);
Expand Down

0 comments on commit 27f6414

Please sign in to comment.