Array Modifier duplicating in wrong direction
All you should have to do is apply the rotation. The hotkey to do this is CTRL + A -> Rotation.

An alternate method (that you probably shouldn't use if you want it duplicated on the x) is to put the value of one in some of the other value boxes (make the current on 0 first).