@@ -416,7 +416,7 @@ |
||
416 | 416 | |
417 | 417 | if( $file && $file->getError() !== UPLOAD_ERR_NO_FILE ) { |
418 | 418 | $refItem = $cntl->add( $refItem, $file ); |
419 | - } elseif ( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
419 | + } elseif( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
420 | 420 | $refItem = $cntl->copy( $refItem ); |
421 | 421 | } |
422 | 422 |
@@ -385,7 +385,7 @@ |
||
385 | 385 | |
386 | 386 | if( $file && $file->getError() !== UPLOAD_ERR_NO_FILE ) { |
387 | 387 | $refItem = $cntl->add( $refItem, $file ); |
388 | - } elseif ( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
388 | + } elseif( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
389 | 389 | $refItem = $cntl->copy( $refItem ); |
390 | 390 | } |
391 | 391 |
@@ -385,7 +385,7 @@ |
||
385 | 385 | |
386 | 386 | if( $file && $file->getError() !== UPLOAD_ERR_NO_FILE ) { |
387 | 387 | $refItem = $cntl->add( $refItem, $file ); |
388 | - } elseif ( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
388 | + } elseif( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
389 | 389 | $refItem = $cntl->copy( $refItem ); |
390 | 390 | } |
391 | 391 |
@@ -385,7 +385,7 @@ |
||
385 | 385 | |
386 | 386 | if( $file && $file->getError() !== UPLOAD_ERR_NO_FILE ) { |
387 | 387 | $refItem = $cntl->add( $refItem, $file ); |
388 | - } elseif ( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
388 | + } elseif( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
389 | 389 | $refItem = $cntl->copy( $refItem ); |
390 | 390 | } |
391 | 391 |
@@ -385,7 +385,7 @@ |
||
385 | 385 | |
386 | 386 | if( $file && $file->getError() !== UPLOAD_ERR_NO_FILE ) { |
387 | 387 | $refItem = $cntl->add( $refItem, $file ); |
388 | - } elseif ( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
388 | + } elseif( $refItem->getId() === null && $refItem->getUrl() !== '' ) { |
|
389 | 389 | $refItem = $cntl->copy( $refItem ); |
390 | 390 | } |
391 | 391 |