Fixed missing tmp variable in kmpoints_create_handler in case of PHP 5.3