Skip to content
Permalink
Browse files

Use Max Int if Merge End not given

  • Loading branch information...
gamma committed Dec 20, 2018
1 parent 9c27c64 commit c8d56c5cffed159af8d11b5ae2a58dd2bc907d23
Showing with 1 addition and 1 deletion.
  1. +1 −1 action/aggregate.php
@@ -49,7 +49,7 @@ public function siteexport_aggregate(Doku_Event &$event)
$lookupNS = noNS($namespace) == $conf['start'] ? $namespace : $namespace . ':' . $conf['start'];
if ( $INPUT->has( 'mergecompare_start' ) && $INPUT->has( 'mergecompare_end' ) ) {
$values = $functions->__getOrderedListOfPagesForStartEnd($lookupNS, $INPUT->int( 'mergecompare_start' ), $INPUT->int( 'mergecompare_end' ) );
$values = $functions->__getOrderedListOfPagesForStartEnd($lookupNS, $INPUT->int( 'mergecompare_start' ), $INPUT->int( 'mergecompare_end', PHP_INT_MAX ) );
} else {
$values = $functions->__getOrderedListOfPagesForID($lookupNS, $exportBase);
$values = array(end( $values )); // the list above has the $exportBase element at the very end

0 comments on commit c8d56c5

Please sign in to comment.
You can’t perform that action at this time.