From 4deea4c6abe68f94f845aaf809f7a66618e15aee Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 25 Sep 2019 10:35:57 -0400 Subject: [PATCH] code doc --- web/includes/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/includes/functions.php b/web/includes/functions.php index a78ef2c66..482e36515 100644 --- a/web/includes/functions.php +++ b/web/includes/functions.php @@ -1400,8 +1400,8 @@ function getPagination( $pages, $page, $maxShortcuts, $query, $querySep='&' foreach ( $newPages as $newPage ) { $pageText .= ''.$newPage.' '; } + } # end if page > 1 - } $pageText .= '- '.$page.' -'; if ( $page < $pages ) { $newPages = array(); @@ -1426,10 +1426,10 @@ function getPagination( $pages, $page, $maxShortcuts, $query, $querySep='&' if ( false && $page < ($pages-1) ) { $pageText .= '>>'; } - } + } # end if $page < $pages } } - return( $pageText ); + return $pageText; } function sortHeader( $field, $querySep='&' ) {