Fix for inability to publish - Issue #387

is_numeric should be used to test for valid user_id.