mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
- Fixed bug #87: Strings consisting only of digits are not managed as strings
SVN:trunk[312]
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user