diff --git a/include/dfrn.php b/include/dfrn.php index 7d5020425b..37df682a1b 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -1277,7 +1277,7 @@ class dfrn { $href = ""; $width = 0; foreach ($avatar->attributes AS $attributes) { - /// @TODO Rewrite these similar if () to one switch + /// @TODO Rewrite these similar if() to one switch if ($attributes->name == "href") { $href = $attributes->textContent; } @@ -2122,7 +2122,7 @@ class dfrn { $title = ""; foreach ($links AS $link) { foreach ($link->attributes AS $attributes) { - /// @TODO Rewrite these repeated (same) if () statements to a switch() + /// @TODO Rewrite these repeated (same) if() statements to a switch() if ($attributes->name == "href") { $href = $attributes->textContent; }