PHPCI/Plugin/Xmpp.php : Fix date_format variable

This commit is contained in:
Alexandre Russo 2014-05-21 12:19:42 +02:00
parent daa2d7e716
commit 915fd5351f

View file

@ -100,7 +100,7 @@ class XMPP implements \PHPCI\Plugin
*/
protected function setOptions($options)
{
foreach (array('username', 'password', 'alias', 'tls', 'server', 'dateFormat')
foreach (array('username', 'password', 'alias', 'tls', 'server', 'date_format')
as $key) {
if (array_key_exists($key, $options)) {
$this->{$key} = $options[$key];