pfsense/pfsense — pull request #1379 by phil-davis (2014-12-11 02:39:31+00:00)
Title: Improve check if no OpenVPN defined

Alternate version of https://github.com/pfsense/pfsense/pull/1376
This version retains the is_array() checks and then only does the count() if the is_array() is true.
Take whichever version you like.