Cleanup for #3010 - added spaces, thanks to @annando .
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
dd8d797d9f
commit
46d383369c
53 changed files with 147 additions and 149 deletions
|
|
@ -286,7 +286,7 @@ function profiles_post(&$a) {
|
|||
intval(local_user())
|
||||
);
|
||||
}
|
||||
if(dbm::is_result($r)) {
|
||||
if (dbm::is_result($r)) {
|
||||
$prf = $r[0]['url'];
|
||||
$newname = $r[0]['name'];
|
||||
}
|
||||
|
|
@ -767,7 +767,7 @@ function profiles_content(&$a) {
|
|||
"SELECT * FROM `profile` WHERE `uid` = %d AND `is-default`=1",
|
||||
local_user()
|
||||
);
|
||||
if(dbm::is_result($r)){
|
||||
if (dbm::is_result($r)){
|
||||
//Go to the default profile.
|
||||
goaway('profiles/'.$r[0]['id']);
|
||||
}
|
||||
|
|
@ -775,7 +775,7 @@ function profiles_content(&$a) {
|
|||
|
||||
$r = q("SELECT * FROM `profile` WHERE `uid` = %d",
|
||||
local_user());
|
||||
if(dbm::is_result($r)) {
|
||||
if (dbm::is_result($r)) {
|
||||
|
||||
$tpl = get_markup_template('profile_entry.tpl');
|
||||
foreach($r as $rr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue