Browse Source

! its seconds not minutes, left over value for debugging

Spuds 12 years ago
parent
commit
d80e3b98f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/MoveTopic.php

+ 1 - 1
Sources/MoveTopic.php

@@ -298,7 +298,7 @@ function MoveTopic2()
 		));
 		
 		// auto remove this MOVED redirection topic in the future?
-		$redirect_expires = !empty($_POST['redirect_expires']) ? ((int) $_POST['redirect_expires'] + time()) : 0;
+		$redirect_expires = !empty($_POST['redirect_expires']) ? ((int) ($_POST['redirect_expires'] * 60) + time()) : 0;
 
 		// redirect to the MOVED topic from topic list?
 		$redirect_topic = isset($_POST['redirect_topic']) ? $topic : 0;