summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2012-10-01 10:17:38 +0100
committerlsces <lester@lsces.co.uk>2012-10-01 10:17:38 +0100
commit39b9861e7e517a7e990377ef979bffb27a3ec602 (patch)
tree3ec9da752fbfee5a13d8a2c48eb0f429dd4b4815
parent3e29c6f58bbe9c14bbba5745e44d5e757f56620e (diff)
downloadnexus-39b9861e7e517a7e990377ef979bffb27a3ec602.tar.gz
nexus-39b9861e7e517a7e990377ef979bffb27a3ec602.tar.bz2
nexus-39b9861e7e517a7e990377ef979bffb27a3ec602.zip
Detail query needed modifying for $bindVars as well
-rw-r--r--Nexus.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Nexus.php b/Nexus.php
index ff283be..9d4c041 100644
--- a/Nexus.php
+++ b/Nexus.php
@@ -295,7 +295,7 @@ class Nexus extends NexusSystem {
$bindVars = array( $pMenuId );
}
$query .= ' ORDER BY nmi.`pos`';
- $result = $this->mDb->query( $query, array( $bindVars ) );
+ $result = $this->mDb->query( $query, $bindVars );
while( !$result->EOF ) {
$item = $result->fields;
$item['display_url'] = $this->printUrl( $item );