Aleksander Machniak
2015-03-31 0a4e0921d3c4e4e1e485f43dc05bf0447fbc846a
plugins/enigma/lib/enigma_error.php
@@ -37,11 +37,12 @@
    const E_EXPIRED = 6;
    const E_UNVERIFIED = 7;
    function __construct($code = null, $message = '', $data = array())
    {
        $this->code = $code;
        $this->code    = $code;
        $this->message = $message;
        $this->data = $data;
        $this->data    = $data;
    }
    function getCode()
@@ -56,9 +57,11 @@
    function getData($name)
    {
        if ($name)
        if ($name) {
            return $this->data[$name];
        else
        }
        else {
            return $this->data;
        }
    }
}