propelorm/sfPropelORMPlugin — Issue #94: Notice in Behavior.php on line 127
Author: vworldat
Created: 2011-11-13 17:23:35+00:00
State: open

During `symfony propel:diff` several PHP Notices are thrown:

```
Notice: Undefined index: required in /lib/vendor/propel/generator/lib/model/Behavior.php on line 127
```

Possible solution
-----------------------
(no time to check tests)

`Behavior.php, line 127`

```php
return $this->parameters[$name];
```

replace with:

```php
if (isset($this->parameters[$name])) {
return $this->parameters[$name];
}
return null;
```

As noted above: works for me, but I don't know if this has any side effects (shouldn't IMHO).