mirror of
https://github.com/friendica/friendica
synced 2025-04-24 05:50:11 +00:00
Revert "Coding convention applied - part 1"
This commit is contained in:
parent
9c2c483996
commit
7b352f3f74
181 changed files with 3507 additions and 4338 deletions
|
@ -50,7 +50,7 @@ class xml {
|
|||
}
|
||||
}
|
||||
|
||||
foreach ($array as $key => $value) {
|
||||
foreach($array as $key => $value) {
|
||||
if (!isset($element) AND isset($xml)) {
|
||||
$element = $xml;
|
||||
}
|
||||
|
@ -305,7 +305,7 @@ class xml {
|
|||
//Set the attributes too.
|
||||
if (isset($attributes) and $get_attributes) {
|
||||
foreach ($attributes as $attr => $val) {
|
||||
if ($priority == 'tag') {
|
||||
if($priority == 'tag') {
|
||||
$attributes_data[$attr] = $val;
|
||||
} else {
|
||||
$result['@attributes'][$attr] = $val; // Set all the attributes in a array called 'attr'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue