Fixed an error in the controller where a bad method was called

Resolves http://bugs.web2project.net/view.php?id=1612