Update AdminProductsController.php

corrected the patch, the variable should be $accessories instead of $post_accessories.