diff options
author | Phil Davis <phil.davis@inf.org> | 2014-12-29 20:16:28 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-12-29 20:16:28 +0545 |
commit | aff83787a3c7b24a342b3d7ce720887b30072865 (patch) | |
tree | 911f37aa3cee4d6c26110a6b1f3d51d9575702d9 /usr/local/www | |
parent | 994a064416579453452054e1fee17268bbb74ab2 (diff) | |
download | pfsense-aff83787a3c7b24a342b3d7ce720887b30072865.zip pfsense-aff83787a3c7b24a342b3d7ce720887b30072865.tar.gz |
Simplify cron array comparison
This works fine - I had not thought about how arrays are compared. Using "==" checks that the key/value pairs match in both arrays, regardless of the order the arrays happen to be in, which is what we want here.
Using "===" would insist that the key/value pairs are also in the same order in the array and that the types and everything match identically, which we do not require.
Diffstat (limited to 'usr/local/www')
0 files changed, 0 insertions, 0 deletions