Update of /cvsroot/stack/stack-dev/lib/items
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv27194/lib/items
Modified Files:
Item.php
Log Message:
Equality comparison now includes checking validity status to fix bulk validation operation.
Index: Item.php
===================================================================
RCS file: /cvsroot/stack/stack-dev/lib/items/Item.php,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** Item.php 30 Sep 2010 16:56:15 -0000 1.65
--- Item.php 4 Oct 2010 15:00:28 -0000 1.66
***************
*** 1401,1404 ****
--- 1401,1407 ----
if($this->line !== $other->line) return false;
+ // Might be nicer to update rather than create new 'valid' version of exact same question, but meanwhile...
+ if($this->valid !== $other->valid) return false;
+
return true; // all tests passed
}
|