Fix for #321 Problem after Laravel upgrade 4.2.8 to 4.2.9