@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | } |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - if ( empty($link->toComponent) |
|
| 55 | + if (empty($link->toComponent) |
|
| 56 | 56 | && !empty($link->fromComponent)) { |
| 57 | 57 | debug_add("Setting property 'toComponent' to '{$component}'"); |
| 58 | 58 | $link->toComponent = $component; |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | $link->fromComponent = $component; |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - if ( empty($link->toGuid) |
|
| 64 | + if (empty($link->toGuid) |
|
| 65 | 65 | && !empty($link->fromGuid)) { |
| 66 | 66 | $link->toClass = get_class($obj); |
| 67 | 67 | $link->toGuid = $obj->guid; |