]> git.mxchange.org Git - friendica-addons.git/commitdiff
Standards
authorMichael <heluecht@pirati.ca>
Thu, 23 Jul 2020 06:07:17 +0000 (06:07 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 23 Jul 2020 06:07:17 +0000 (06:07 +0000)
curweather/curweather.php
forumdirectory/forumdirectory.php

index d9a1d20299a45abce55c87dd56b01b2c68d21caf..93141f233606f67c3d90a5c880d195f2e564a6ca 100644 (file)
@@ -52,7 +52,7 @@ function getWeather($loc, $units = 'metric', $lang = 'en', $appid = '', $cacheti
                $res = new SimpleXMLElement(Network::fetchUrl($url));
        } catch (Exception $e) {
                if (empty($_SESSION['curweather_notice_shown'])) {
-                       notice(DI::l10n()->t('Error fetching weather data. Error was: '.$e->getMessage()));
+                       notice(DI::l10n()->t('Error fetching weather data. Error was: ' . $e->getMessage()));
                        $_SESSION['curweather_notice_shown'] = true;
                }
 
index 566e32a3574f0af28cc892233742dba1d8c62c3a..2b12bf51ef4ce0d825c7127f24ddb49cb4bbb6ad 100644 (file)
@@ -127,7 +127,7 @@ function forumdirectory_content(App $a)
                }
                DBA::close($r);
        } else {
-               notice(DI::l10n()->t("No entries \x28some entries may be hidden\x29.") . EOL);
+               notice(DI::l10n()->t("No entries \x28some entries may be hidden\x29."));
        }
 
        $tpl = Renderer::getMarkupTemplate('directory_header.tpl');