Skip to content

Commit

Permalink
Hotfix contao-community-alliance#342 set standard at sortgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed May 23, 2017
1 parent cddfed2 commit b13eeb6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* This file is part of contao-community-alliance/dc-general.
*
* (c) 2013-2016 Contao Community Alliance.
* (c) 2013-2017 Contao Community Alliance.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand All @@ -21,7 +21,8 @@
* @author Simon Kusterer <simon@soped.com>
* @author Christopher Boelter <christopher@boelter.eu>
* @author Sven Baumann <baumann.sv@gmail.com>
* @copyright 2013-2016 Contao Community Alliance.
* @author Ingolf Steinhardt <info@e-spin.de>
* @copyright 2013-2017 Contao Community Alliance.
* @license https://github.com/contao-community-alliance/dc-general/blob/master/LICENSE LGPL-3.0
* @filesource
*/
Expand Down Expand Up @@ -531,7 +532,7 @@ protected function insertModelIntoDatabase(ModelInterface $model)
->execute();

if (!isset($data[$this->idProperty]) && strlen($insertResult->insertId)) {
$model->setId($insertResult->insertId);
$model->setId((string) $insertResult->insertId);
}
}

Expand Down

0 comments on commit b13eeb6

Please sign in to comment.