Rel 3 3 bug 10582

on add or update standard template.

http://bugs.otrs.org/show_bug.cgi?id=10582
Yes, maybe is something like this:
return if !$Self->{DBObject}->Prepare(
              SQL => 'SELECT id FROM standard_template WHERE name = ?',
              Bind => [ \$Param{Name} ],);
is better, and right solution here.

Thanks 
Zoran