Fixed my bug with the missing Attachments tab

This commit is contained in:
moodler
2004-08-25 03:00:36 +00:00
parent d2049a8b7b
commit b4d9eecbd0
+2 -2
View File
@@ -303,7 +303,7 @@
echo '<table border="0">';
echo "<tr>";
$tabs = array('view', 'edit','links','info');
if ($binary) {
if ($wiki->ewikiacceptbinary) {
$tabs[] = 'attachments';
}
foreach ($tabs as $tab) {
@@ -338,4 +338,4 @@
/// Finish the page
print_footer($course);
?>
?>