disinclined.org
/
git
/
dylansserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed overzealous commit d215663 which broke script-disabled fallback
[dylansserver.git]
/
index.php
diff --git
a/index.php
b/index.php
index
d2715af
..
cd13a87
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-219,7
+219,7
@@
class project extends index {
WHERE title = ?";
$result = $this->query($sql, "s", $_GET['project']);
if ($result = $result[0]['text']) {
WHERE title = ?";
$result = $this->query($sql, "s", $_GET['project']);
if ($result = $result[0]['text']) {
- $text = str_replace("class='exhibit'", "class='exhibit'", $result);
+ $text = str_replace("class='exhibit'", "class='exhibit'
style='display:block;'
", $result);
echo $text;
echo "</div>";
} else {
echo $text;
echo "</div>";
} else {