#587568 by Berdir, yhager: improve PHP 5.3 compatibility by using hook_nodeapi() the right way in node_search()