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
1=== modified file 'server/xmds.php'
2--- server/xmds.php 2009-09-27 11:25:04 +0000
3+++ server/xmds.php 2009-09-29 22:13:10 +0000
4@@ -784,7 +784,10 @@
5 }
6
7 foreach ($document->documentElement->childNodes as $node)
8- {
9+ {
10+ // Make sure we dont consider any text nodes
11+ if ($node->nodeType == XML_TEXT_NODE) continue;
12+
13 //Zero out the common vars
14 $date = "";
15 $message = "";
16@@ -797,6 +800,8 @@
17 // This will be a bunch of trace nodes
18 $message = $node->textContent;
19
20+ if ($displayInfo['isAuditing'] == 1) Debug::LogEntry ($db, "audit", 'Trace Message: [' . $message . ']', "xmds", "SubmitLog", "", $displayInfo['displayid']);
21+
22 // Each element should have a category and a date
23 $date = $node->getAttribute('date');
24 $cat = $node->getAttribute('category');
25@@ -900,6 +905,9 @@
26
27 foreach ($document->documentElement->childNodes as $node)
28 {
29+ // Make sure we dont consider any text nodes
30+ if ($node->nodeType == XML_TEXT_NODE) continue;
31+
32 //Zero out the common vars
33 $fromdt = '';
34 $todt = '';

Subscribers

People subscribed via source and target branches