| @@ 101-113 (lines=13) @@ | ||
| 98 | { |
|
| 99 | $app = $this->attrs['app']; |
|
| 100 | } |
|
| 101 | else |
|
| 102 | { |
|
| 103 | $app =& $this->getElementAttribute(self::GLOBAL_VALS, 'app'); |
|
| 104 | if($this->getElementAttribute($form_name, 'app')) |
|
| 105 | { |
|
| 106 | $app =& $this->getElementAttribute($form_name, 'app'); |
|
| 107 | } |
|
| 108 | else |
|
| 109 | { |
|
| 110 | // Checking creates it even if it wasn't there |
|
| 111 | unset(self::$request->modifications[$form_name]['app']); |
|
| 112 | } |
|
| 113 | } |
|
| 114 | ||
| 115 | if($this->getElementAttribute($form_name, 'customfields')) |
|
| 116 | { |
|
| @@ 115-124 (lines=10) @@ | ||
| 112 | } |
|
| 113 | } |
|
| 114 | ||
| 115 | if($this->getElementAttribute($form_name, 'customfields')) |
|
| 116 | { |
|
| 117 | $customfields =& $this->getElementAttribute($form_name, 'customfields'); |
|
| 118 | } |
|
| 119 | elseif($app) |
|
| 120 | { |
|
| 121 | // Checking creates it even if it wasn't there |
|
| 122 | unset(self::$request->modifications[$form_name]['customfields']); |
|
| 123 | $customfields =& $this->getElementAttribute(self::GLOBAL_VALS, 'customfields'); |
|
| 124 | } |
|
| 125 | ||
| 126 | if(!$app) |
|
| 127 | { |
|