Update edit.inc.php

Emergency fix: Transactions are not aborted if RPC transfer failed.