aboutsummaryrefslogtreecommitdiffstats
path: root/mod/magic.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-02 19:06:54 -0800
committerfriendica <info@friendica.com>2013-12-02 19:06:54 -0800
commit645e897852c1e9b95923ba5a2faf07f63a49d537 (patch)
tree136db4ae2c195b6d96cd0d6a372ff0a423bf74a7 /mod/magic.php
parente0f4a76856bc891f7195ba0044518c24fbfac5a9 (diff)
downloadvolse-hubzilla-645e897852c1e9b95923ba5a2faf07f63a49d537.tar.gz
volse-hubzilla-645e897852c1e9b95923ba5a2faf07f63a49d537.tar.bz2
volse-hubzilla-645e897852c1e9b95923ba5a2faf07f63a49d537.zip
more work on magic-auth
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)
);
}