I caught a guy deploying to attack me and hit him before he attacked, and I believe it brought all his soldiers and tanks home to defend because of it (all of them are defending now). However his attack still went through...

QUOTE
To: Azaghul From: NEWBert Date: 12/16/2008 12:32:01 AM

Subject: Battle Report

Message: You have been attacked by NEWBert. You lost 0 soldiers and 15 tanks. You killed 0 soldiers and 0 tanks. Their forces razed 0.000 miles of your land, stole 0.000 technology, and destroyed 0.000 infrastructure. Their forces looted $0.00 from you and you gained $12,444.77 in your enemy's abandoned equipment. In the end the battle was a Victory. Any existing peace offers that were on the table have been automatically canceled.


For reference, my two attacks on him:

QUOTE
To: NEWBert From: Azaghul Date: 12/16/2008 12:31:47 AM

Subject: Battle Report

Message: You have been attacked by Azaghul. You lost 536 soldiers and 0 tanks. You killed 212 soldiers and 6 tanks. Their forces razed 7.080 miles of your land, stole 2.028 technology, and destroyed 17.152 infrastructure. Their forces looted $8,528.49 from you and you gained $0.00 in your enemy's abandoned equipment. In the end the battle was a Defeat. Any existing peace offers that were on the table have been automatically canceled.


QUOTE
To: NEWBert From: Azaghul Date: 12/16/2008 12:31:56 AM

Subject: Battle Report

Message: You have been attacked by Azaghul. You lost 16 soldiers and 0 tanks. You killed 5 soldiers and 15 tanks. Their forces razed 6.794 miles of your land, stole 2.029 technology, and destroyed 16.459 infrastructure. Their forces looted $6,481.65 from you and you gained $0.00 in your enemy's abandoned equipment. In the end the battle was a Defeat. Any existing peace offers that were on the table have been automatically canceled.


Right now all his soldiers and tanks are defending (I can tell look at his nation page and defensive battle screen)

I'm guessing he still had the attack screen open from before my attacks and pressed to attack, and that's why he could even with nothing deployed and probably zero odds. I'm not complaining as it got me money, but it looks like a bug to me.