]> git.mxchange.org Git - friendica-addons.git/blobdiff - rendertime/rendertime.php
Replace and/AND and or/OR by && and ||
[friendica-addons.git] / rendertime / rendertime.php
index d666c6a864309e3db498e3646cbc78cfb3bde74c..034fdec71d42bf2db2525a947e709792fa9cdf90 100755 (executable)
@@ -29,7 +29,7 @@ function rendertime_page_end(&$a, &$o) {
        $ignored_modules = array("fbrowser");
        $ignored = in_array($a->module, $ignored_modules);
 
-       if (is_site_admin() AND ($_GET["mode"] != "minimal") AND !$a->is_mobile AND !$a->is_tablet AND !$ignored) {
+       if (is_site_admin() && ($_GET["mode"] != "minimal") && !$a->is_mobile && !$a->is_tablet && !$ignored) {
                $o = $o.'<div class="renderinfo">'.sprintf(t("Database: %s/%s, Network: %s, Rendering: %s, Session: %s, I/O: %s, Other: %s, Total: %s"),
                                                round($a->performance["database"] - $a->performance["database_write"], 3),
                                                round($a->performance["database_write"], 3),