Explorar o código

Fix missing count of redirects in foot of table

ohartl %!s(int64=9) %!d(string=hai) anos
pai
achega
a6191f0e6d
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      include/php/pages/admin/listredirects.php

+ 8 - 0
include/php/pages/admin/listredirects.php

@@ -71,4 +71,12 @@ if(!$result = $db->query($sql)){
 			</td>
 		</tr>
 	<?php endwhile; ?>
+	</tbody>
+<?php if ($result->num_rows > 0): ?>
+		<tfoot>
+		<tr>
+			<th><?php echo $result->num_rows;?> Redirects</th>
+		</tr>
+		</tfoot>
+	<?php endif; ?>
 </table>