aboutsummaryrefslogtreecommitdiffstats
path: root/mod/magic.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/magic.php')
-rw-r--r--mod/magic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/magic.php b/mod/magic.php
index 29d16eec5..a268f1ecb 100644
--- a/mod/magic.php
+++ b/mod/magic.php
@@ -20,7 +20,7 @@ function magic_init(&$a) {
$basepath = $parsed['scheme'] . '://' . $parsed['host'] . (($parsed['port']) ? ':' . $parsed['port'] : '');
- $x = q("select * from hubloc where hubloc_url = '%s' order by hubloc_connected desc limit 1"
+ $x = q("select * from hubloc where hubloc_url = '%s' order by hubloc_connected desc limit 1",
dbesc($basepath)
);
@@ -37,7 +37,7 @@ function magic_init(&$a) {
// Now try again
- $x = q("select * from hubloc where hubloc_url = '%s' order by hubloc_connected desc limit 1"
+ $x = q("select * from hubloc where hubloc_url = '%s' order by hubloc_connected desc limit 1",
dbesc($basepath)
);
}