1
0
Fork 0

Cleanup for #3010 - added spaces, thanks to @annando .

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-14 09:41:33 +01:00
commit 46d383369c
53 changed files with 147 additions and 149 deletions

View file

@ -13,7 +13,7 @@ function profile_init(&$a) {
$which = htmlspecialchars($a->argv[1]);
else {
$r = q("select nickname from user where blocked = 0 and account_expired = 0 and account_removed = 0 and verified = 1 order by rand() limit 1");
if(dbm::is_result($r)) {
if (dbm::is_result($r)) {
goaway($a->get_baseurl() . '/profile/' . $r[0]['nickname']);
}
else {
@ -136,7 +136,7 @@ function profile_content(&$a, $update = 0) {
intval($contact_id),
intval($a->profile['profile_uid'])
);
if(dbm::is_result($r)) {
if (dbm::is_result($r)) {
$contact = $r[0];
$remote_contact = true;
}
@ -258,7 +258,7 @@ function profile_content(&$a, $update = 0) {
intval($a->profile['profile_uid'])
);
if(dbm::is_result($r)) {
if (dbm::is_result($r)) {
$a->set_pager_total($r[0]['total']);
}
}