Mark Sch 5 years ago
parent
commit
f70e0c07e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Model/Behavior/SluggedBehavior.php

+ 1 - 1
src/Model/Behavior/SluggedBehavior.php

@@ -132,7 +132,7 @@ class SluggedBehavior extends Behavior {
 		if ($this->_config['length'] === null) {
 		if ($this->_config['length'] === null) {
 			$field = $this->_table->getSchema()->getColumn($this->_config['field']);
 			$field = $this->_table->getSchema()->getColumn($this->_config['field']);
 			$length = $field ? $field['length'] : 0;
 			$length = $field ? $field['length'] : 0;
-			$this->_config['length'] = $length ;
+			$this->_config['length'] = $length;
 		}
 		}
 
 
 		$label = $this->_config['label'] = (array)$this->_config['label'];
 		$label = $this->_config['label'] = (array)$this->_config['label'];