Rel 3 3 bug 10582

on add or update standard template.

http://bugs.otrs.org/show_bug.cgi?id=10582
In this case we usually return "undef" (just ```return```)  to signal that something went wrong. Why do you return 1 here?