The two transactions had one common address as input.
But did they have a common UTXO (from that address)?
If they did, then most nodes will have invalidated the 2nd transaction as soon as the first one was confirmed as the "common" UTXO no longer exists to be used in the 2nd transaction.
If you can still see the 2nd transaction on block explorers (and it isn't marked as invalid), then there is a very good chance it wasn't spending the same UTXO(s) as the first transaction as is actually still a "valid" transaction and will eventually get confirmed.
Do as nc50lc suggested and check the UTXOs for both transactions very careful, I concur with them that it would appear that there wasn't a common UTXO, otherwise all the nodes would have invalidated your 2nd transaction.