Issue 59 in daisydiff: TextNode->IsSame() references not declared variable $html2 in php

12 views
Skip to first unread message

codesite...@google.com

unread,
Apr 4, 2014, 10:02:23 AM4/4/14
to dais...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 59 by gurinder...@countersoft.com: TextNode->IsSame() references
not declared variable $html2 in php
http://code.google.com/p/daisydiff/issues/detail?id=59


public function isSameText($other) {
if (is_null($other) || ! $other instanceof TextNode) {
return false;
}
return preg_replace('/[\n\r]/',' ',$this->text) ===
preg_replace('/[\n\r]/',' ',$html2);
}

I assume the $html2 needs to be replaces with $other->text?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages