even more backslashes

This commit is contained in:
redmatrix
2016-10-03 22:01:14 -07:00
parent ce6e81c682
commit 4e07b4c0e8
8 changed files with 77 additions and 77 deletions

View File

@@ -211,7 +211,7 @@ class Setup extends \Zotlabs\Web\Controller {
$db_return_text .= $txt;
}
if(\DBA::$dba && \DBA::$dba->connected) {
$r = q("SELECT COUNT(*) as `total` FROM `account`");
$r = q("SELECT COUNT(*) as total FROM account");
if($r && count($r) && $r[0]['total']) {
$tpl = get_markup_template('install.tpl');
return replace_macros($tpl, array(