Commit 0ca0be86 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DDC-1603' into 2.1.x

parents 52929328 cbb8ac6f
......@@ -167,7 +167,7 @@ class Table extends AbstractAsset
*/
public function addUniqueIndex(array $columnNames, $indexName = null)
{
if ($indexName == null) {
if ($indexName === null) {
$indexName = $this->_generateIdentifierName(
array_merge(array($this->getName()), $columnNames), "uniq", $this->_getMaxIdentifierLength()
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment