- added admin roles "SUPERADMIN", "CORPORATION" (access), and "MEMBER" (default role).

This commit is contained in:
Exodus4D
2017-06-04 16:09:33 +02:00
parent 433c555265
commit 23b837fb32
7 changed files with 185 additions and 110 deletions

View File

@@ -605,7 +605,7 @@ abstract class BasicModel extends \DB\Cortex {
* @return false|null|string
*/
public function getFormattedColumn($column, $format = 'Y-m-d H:i'){
return $this->get($column) ? date($format, strtotime( $this->get($column) )) : null;;
return $this->get($column) ? date($format, strtotime( $this->get($column) )) : null;
}
/**