summaryrefslogtreecommitdiff
path: root/modules/notification/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-16 00:10:55 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-16 00:10:55 -0800
commit9f03d36d6ee5358b3081f64fc7ef0b0ae42d97db (patch)
tree214d7b45e13fe6b344cd78e26522191355a97dc4 /modules/notification/views
parent00c73a4b072d2ad4e45323234b847da4f69d99a3 (diff)
Don't use MY_ORM::original() here since the values may not have
changed since the last save. Instead, use the original ORM passed in.
Diffstat (limited to 'modules/notification/views')
-rw-r--r--modules/notification/views/item_updated.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/notification/views/item_updated.html.php b/modules/notification/views/item_updated.html.php
index 47856cab..7020fd53 100644
--- a/modules/notification/views/item_updated.html.php
+++ b/modules/notification/views/item_updated.html.php
@@ -7,7 +7,7 @@
<h2> <?= html::clean($subject) ?> </h2>
<table>
<tr>
- <? if ($item->original("title") != $item->title): ?>
+ <? if ($original->title != $item->title): ?>
<td><?= t("New title:") ?></td>
<td><?= html::clean($item->title) ?></td>
<? else: ?>
@@ -19,7 +19,7 @@
<td><?= t("Url:") ?></td>
<td><a href="<?= $item->abs_url() ?>"><?= $item->abs_url() ?></a></td>
</tr>
- <? if ($item->original("description") != $item->description): ?>
+ <? if ($original->description != $item->description): ?>
<tr>
<td><?= t("New description:") ?></td>
<td><?= html::clean($item->description) ?></td>