Code Duplication    Length = 3-3 lines in 2 locations

includes/page/CategoryPage.php 2 locations

@@ 91-93 (lines=3) @@
88
			$until[$type] = $request->getVal( "{$type}until", $oldUntil );
89
90
			// Do not want old-style from/until propagating in nav links.
91
			if ( !isset( $reqArray["{$type}from"] ) && isset( $reqArray["from"] ) ) {
92
				$reqArray["{$type}from"] = $reqArray["from"];
93
			}
94
			if ( !isset( $reqArray["{$type}to"] ) && isset( $reqArray["to"] ) ) {
95
				$reqArray["{$type}to"] = $reqArray["to"];
96
			}
@@ 94-96 (lines=3) @@
91
			if ( !isset( $reqArray["{$type}from"] ) && isset( $reqArray["from"] ) ) {
92
				$reqArray["{$type}from"] = $reqArray["from"];
93
			}
94
			if ( !isset( $reqArray["{$type}to"] ) && isset( $reqArray["to"] ) ) {
95
				$reqArray["{$type}to"] = $reqArray["to"];
96
			}
97
		}
98
99
		unset( $reqArray["from"] );