1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
chtito 2006-11-06 07:08:33 +00:00
parent 63d84e18e9
commit 1727a3e9c1

View File

@ -979,7 +979,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable {
* @param mixed $value
*/
public function invokeSet(Doctrine_Record $record, $name, $value) {
if( ! ($this->getAttribute(Doctrine::ATTR_ACCESSORS) | Doctrine::ACCESSOR_SET))
if( ! ($this->getAttribute(Doctrine::ATTR_ACCESSORS) & Doctrine::ACCESSOR_SET))
return $value;
$method = 'set' . $name;
@ -996,7 +996,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable {
* @param mixed $value
*/
public function invokeGet(Doctrine_Record $record, $name, $value) {
if( ! ($this->getAttribute(Doctrine::ATTR_ACCESSORS) | Doctrine::ACCESSOR_GET))
if( ! ($this->getAttribute(Doctrine::ATTR_ACCESSORS) & Doctrine::ACCESSOR_GET))
return $value;
$method = 'get' . $name;