Code Duplication    Length = 15-15 lines in 2 locations

programs/vacadmb.php 1 location

@@ 284-298 (lines=15) @@
281
		}
282
			
283
			
284
		private function param($name, $default = '')
285
		{
286
			if (isset($_REQUEST[$name]))
287
			{
288
				$_SESSION['babVacation'][$name] = $_REQUEST[$name];
289
				return $_REQUEST[$name];
290
			}
291
			
292
			if (isset($_SESSION['babVacation'][$name]))
293
			{
294
				return $_SESSION['babVacation'][$name];
295
			}
296
			
297
			return $default;
298
		}
299
300
		public function getnext()
301
			{

programs/utilit/vacincl.php 1 location

@@ 3205-3219 (lines=15) @@
3202
	}
3203
3204
3205
	public function param($name, $default = '')
3206
	{
3207
		if (isset($_REQUEST[$name]))
3208
		{
3209
			$_SESSION['babVacation'][$name] = $_REQUEST[$name];
3210
			return $_REQUEST[$name];
3211
		}
3212
3213
		if (isset($_SESSION['babVacation'][$name]))
3214
		{
3215
			return $_SESSION['babVacation'][$name];
3216
		}
3217
3218
		return $default;
3219
	}
3220
}
3221
3222