Fix so we don't throw warnings in the admin.
Merge pull request #1 from jordandukart/7.x-admin-warnings

Fix so we don't throw warnings in the admin.