[HUBZERO][#6183] Fix PHP error.
[HUBZERO][#6183] Fix PHP error.

anthonyfuentes/hubzero-cms,zweidner/hubzero-cms,zooley/hubzero-cms,zweidner/hubzero-cms,anthonyfuentes/hubzero-cms,zooley/hubzero-cms,zooley/hubzero-cms,zooley/hubzero-cms,anthonyfuentes/hubzero-cms,zweidner/hubzero-cms,anthonyfuentes/hubzero-cms,zweidner/hubzero-cms