Skip to content

Commit 73a9a2a

Browse files
committed
Fix for deleting aliases and affiliations
Aliases and affiliations weren't being disabled due to an error in the database query. Fixed now. Signed-off-by: Brian Warner <brian@bdwarner.com>
1 parent ab3d0a5 commit 73a9a2a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

web/manage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ class="select">Github user: </label></td>
643643

644644
$set_inactive = "UPDATE aliases SET active = FALSE WHERE id=" . $id;
645645

646-
query_db($db_people,$set_inactive);
646+
query_db($db_people,$set_inactive,'Disabling alias');
647647

648648
}
649649

@@ -737,7 +737,7 @@ class="select">Github user: </label></td>
737737

738738
$set_inactive = "UPDATE affiliations SET active = FALSE WHERE id=" . $id;
739739

740-
query_db($db_people,$set_inactive);
740+
query_db($db_people,$set_inactive,'Disabling affiliation');
741741
}
742742

743743
header("Location: people");

0 commit comments

Comments
 (0)