Merge lp:~dangarner/xibo/433593 into lp:~xibo-maintainers/xibo/encke

Proposed by Dan Garner
Status: Merged
Merged at revision: not available
Proposed branch: lp:~dangarner/xibo/433593
Merge into: lp:~xibo-maintainers/xibo/encke
Diff against target: 34 lines
1 file modified
server/xmds.php (+9/-1)
To merge this branch: bzr merge lp:~dangarner/xibo/433593
Reviewer Review Type Date Requested Status
Xibo Maintainters Pending
Review via email: mp+12621@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'server/xmds.php'
--- server/xmds.php 2009-09-27 11:25:04 +0000
+++ server/xmds.php 2009-09-29 22:13:10 +0000
@@ -784,7 +784,10 @@
784 }784 }
785 785
786 foreach ($document->documentElement->childNodes as $node)786 foreach ($document->documentElement->childNodes as $node)
787 { 787 {
788 // Make sure we dont consider any text nodes
789 if ($node->nodeType == XML_TEXT_NODE) continue;
790
788 //Zero out the common vars791 //Zero out the common vars
789 $date = "";792 $date = "";
790 $message = "";793 $message = "";
@@ -797,6 +800,8 @@
797 // This will be a bunch of trace nodes800 // This will be a bunch of trace nodes
798 $message = $node->textContent;801 $message = $node->textContent;
799 802
803 if ($displayInfo['isAuditing'] == 1) Debug::LogEntry ($db, "audit", 'Trace Message: [' . $message . ']', "xmds", "SubmitLog", "", $displayInfo['displayid']);
804
800 // Each element should have a category and a date 805 // Each element should have a category and a date
801 $date = $node->getAttribute('date');806 $date = $node->getAttribute('date');
802 $cat = $node->getAttribute('category');807 $cat = $node->getAttribute('category');
@@ -900,6 +905,9 @@
900 905
901 foreach ($document->documentElement->childNodes as $node)906 foreach ($document->documentElement->childNodes as $node)
902 { 907 {
908 // Make sure we dont consider any text nodes
909 if ($node->nodeType == XML_TEXT_NODE) continue;
910
903 //Zero out the common vars911 //Zero out the common vars
904 $fromdt = '';912 $fromdt = '';
905 $todt = '';913 $todt = '';

Subscribers

People subscribed via source and target branches