Created
May 6, 2014 13:50
-
-
Save ceesvanegmond/0324a6ecbfc3bb5c79b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//regel 78 -> ShapeShifter/Repository.php | |
if ($attr instanceof CheckboxAttribute) { | |
$attr->setAttributeValue( Input::get($attr->name, Input::file($attr->name) ?: '')); | |
}else { | |
$attr->setAttributeValue( Input::get($attr->name, Input::file($attr->name) ?: $this->model->{$attr->name} ?: '')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vergeet niet boven aan Repository.php
use Just\Shapeshifter\Attributes\CheckboxAttribute;