Browse Source

FIX: bad URL

Philippe GRAND 6 years ago
parent
commit
2b6810e2ab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      htdocs/compta/salaries/card.php

+ 2 - 2
htdocs/compta/salaries/card.php

@@ -63,7 +63,7 @@ $hookmanager->initHooks(array('salarycard','globalcard'));
 
 if ($cancel)
 {
-	header("Location: index.php");
+	header("Location: list.php");
 	exit;
 }
 
@@ -139,7 +139,7 @@ if ($action == 'add' && empty($cancel))
 		if ($ret > 0)
 		{
 			$db->commit();
-			header("Location: index.php");
+			header("Location: list.php");
 			exit;
 		}
 		else