]> git.mxchange.org Git - friendica.git/commitdiff
get app structure needed in regmod
authorFriendika <info@friendika.com>
Wed, 29 Jun 2011 07:40:43 +0000 (00:40 -0700)
committerFriendika <info@friendika.com>
Wed, 29 Jun 2011 07:40:43 +0000 (00:40 -0700)
mod/regmod.php

index 8e6a577d43234fdd621036d35fd7ce2e88e7165e..76ea4062ede8becd5789b1b54a8f3324ce4148ee 100644 (file)
@@ -1,6 +1,9 @@
 <?php
 
 function user_allow($hash) {
+
+       $a = get_app();
+
        $register = q("SELECT * FROM `register` WHERE `hash` = '%s' LIMIT 1",
                dbesc($hash)
        );