You probably have a TAB before the ELSE instead of spaces, which will error out when it happens to be in an $INCLUDed file.
And yes, you should definitly move to v1.3, cause v1.0 is years old.
BTW - The mentioned TAB glitch in includes was actually fixed in v1.3, see ChangeLog.