fixes an error when using PHP5.4+
Merge pull request #66 from hosef/1.x

Issue #96: Fix error in menu_link_save() when using PHP 5.4+.