Cleaning up whitespace

8.0.x
Greg Dunlap 2012-02-16 13:08:44 -08:00
parent 803af70955
commit 3f9c931860
4 changed files with 6 additions and 6 deletions

View File

@ -987,7 +987,7 @@ function image_effect_load($ieid, $style_name) {
function image_effect_save($style_name, $effect) {
$config = config('image.styles.' . $style_name);
if (empty($effect['ieid'])) {
if (!isset($effect['ieid']) || empty($effect['ieid'])) {
// We need to generate the ieid and save the new effect.
// The machine name is all the elements of the data array concatenated
// together, delimited by underscores.