Fixed my bug with the missing Attachments tab
This commit is contained in:
+2
-2
@@ -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);
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user