Revision: 1174
http://mrbs.svn.sourceforge.net/mrbs/?rev=1174&view=rev
Author: cimorrison
Date: 2009-08-12 14:06:50 +0000 (Wed, 12 Aug 2009)
Log Message:
-----------
Fixed bug causing undefined variable notice when an email notification of a
series is viewed. (The notice is only visible in MRBS if error_reporting is
set to include Notices).
Modified Paths:
--------------
mrbs/trunk/web/view_entry.php
Modified: mrbs/trunk/web/view_entry.php
===================================================================
--- mrbs/trunk/web/view_entry.php 2009-08-11 14:11:04 UTC (rev 1173)
+++ mrbs/trunk/web/view_entry.php 2009-08-12 14:06:50 UTC (rev 1174)
@@ -341,17 +341,17 @@
<div id="view_entry_nav">
<div>
<?php
- if (! $series)
+ if (!$series)
{
echo "<a href=\"edit_entry.php?id=$id&returl=$returl\">".
get_vocab("editentry") ."</a>";
}
- if ($repeat_id)
+ if (!empty($repeat_id))
{
echo " - ";
}
- if ($repeat_id || $series )
+ if (!empty($repeat_id) || $series)
{
echo "<a
href=\"edit_entry.php?id=$id&edit_type=series&day=$day&month=$month&year=$year&returl=$returl\">".get_vocab("editseries")."</a>";
}
@@ -362,17 +362,17 @@
<?php
// Copy and Copy series
- if ( ! $series )
+ if (!$series)
{
echo "<a href=\"edit_entry.php?id=$id&copy=1&returl=$returl\">".
get_vocab("copyentry") ."</a>";
}
- if ($repeat_id)
+ if (!empty($repeat_id))
{
echo " - ";
}
- if ($repeat_id || $series )
+ if (!empty($repeat_id) || $series)
{
echo "<a
href=\"edit_entry.php?id=$id&edit_type=series&day=$day&month=$month&year=$year&copy=1&returl=$returl\">".get_vocab("copyseries")."</a>";
}
@@ -381,17 +381,17 @@
</div>
<div>
<?php
- if ( ! $series )
+ if (!$series)
{
echo "<a href=\"del_entry.php?id=$id&series=0&returl=$returl\"
onclick=\"return
confirm('".get_vocab("confirmdel")."');\">".get_vocab("deleteentry")."</a>";
}
- if ($repeat_id)
+ if (!empty($repeat_id))
{
echo " - ";
}
- if ($repeat_id || $series )
+ if (!empty($repeat_id) || $series)
{
echo "<a
href=\"del_entry.php?id=$id&series=1&day=$day&month=$month&year=$year&returl=$returl\"
onClick=\"return
confirm('".get_vocab("confirmdel")."');\">".get_vocab("deleteseries")."</a>";
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits