Revert 30130, completely breaks editing with fatal PHP error.
[lhc/web/wiklou.git] / includes / QueryPage.php
index 449ec23..06710b6 100644 (file)
@@ -403,7 +403,7 @@ class QueryPage {
                                                ? ' class="not-patrolled"'
                                                : '';
                                        $html[] = $this->listoutput
-                                               ? $format
+                                               ? $line
                                                : "<li{$attr}>{$line}</li>\n";
                                }
                        }
@@ -417,7 +417,7 @@ class QueryPage {
                                                ? ' class="not-patrolled"'
                                                : '';
                                        $html[] = $this->listoutput
-                                               ? $format
+                                               ? $line
                                                : "<li{$attr}>{$line}</li>\n";
                                }
                        }
@@ -531,4 +531,4 @@ class QueryPage {
        }
 }
 
-?>
+