redmine

Don't "signer2user" if user is set

@@ -157,7 +157,7 @@ header( "Content-Type: text/plain" ); @@ -157,7 +157,7 @@ header( "Content-Type: text/plain" );
157 //print_r ($_GET); die(); 157 //print_r ($_GET); die();
158 //print_r($_GET); 158 //print_r($_GET);
159 159
160 -if (isset($_GET['signer2user'])) { 160 +if (isset($_GET['signer2user']) && empty($_GET['user-appointment-id'])) {
161 $_GET['user-appointment-id'] = $_GET['signer-appointment-id']; 161 $_GET['user-appointment-id'] = $_GET['signer-appointment-id'];
162 } 162 }
163 163