inex/IXP-Manager — pull request #48 by rowanthorpe (2013-07-27 15:34:57+00:00)
Title: Fix query build

Here an attempt is being made to construct a string $q and then reassign $q as a query object using the string, but the front part of the query-construction code has been prepended to the string-construction (it is already present later, at line 295 where it is needed), creating a syntax error. This commit removes the extra code and fixes one bug, which by the way exposes another unrelated bug where in some places getInfrastructure() is returning a non-object, and then subsequent attempts to getIXP() on that "object" fail...