get app structure needed in regmod

2022.09-rc
Friendika 2011-06-29 00:40:43 -07:00
rodzic 48521fa4e1
commit 62340ba86b
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

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