Fixed PHP Notices: Views patch applied

Patch has been RTBC, and seems like it's working on my laptop.
Let's push this up and see how it does.

Signed-off-by: Elliot Voris <elliotfriend@gmail.com>