|
@@ -229,7 +229,7 @@ abstract class DBObject
|
|
|
}
|
|
|
|
|
|
public function Set($sAttCode, $value)
|
|
|
- {
|
|
|
+ {
|
|
|
if ($sAttCode == 'finalclass')
|
|
|
{
|
|
|
// Ignore it - this attribute is set upon object creation and that's it
|
|
@@ -568,7 +568,7 @@ abstract class DBObject
|
|
|
$aDelta = array();
|
|
|
foreach ($aProposal as $sAtt => $proposedValue)
|
|
|
{
|
|
|
- if (!array_key_exists($sAtt, $this->m_aOrigValues) || ($this->m_aOrigValues[$sAtt] != $proposedValue))
|
|
|
+ if (!array_key_exists($sAtt, $this->m_aOrigValues) || ($this->m_aOrigValues[$sAtt] !== $proposedValue))
|
|
|
{
|
|
|
$aDelta[$sAtt] = $proposedValue;
|
|
|
}
|