OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-next.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80b4dd8
)
MERGE: リビジョン1819。Blog:additem()で$isFutureが定義されていない旨の警告が出るのを修正
author
sakamocchi
<o-takashi@sakamocchi.jp>
Fri, 4 May 2012 13:58:31 +0000
(22:58 +0900)
committer
sakamocchi
<o-takashi@sakamocchi.jp>
Fri, 4 May 2012 13:58:31 +0000
(22:58 +0900)
FIX: minor bug in Blog::additem()
There is a case that $isFuture is unset.
http://nucleuscms.svn.sourceforge.net/viewvc/nucleuscms?view=revision&revision=1819
nucleus/libs/BLOG.php
patch
|
blob
|
history
diff --git
a/nucleus/libs/BLOG.php
b/nucleus/libs/BLOG.php
index
5a1dd3a
..
f813eba
100644
(file)
--- a/
nucleus/libs/BLOG.php
+++ b/
nucleus/libs/BLOG.php
@@
-329,6
+329,7
@@
class Blog
$catid = $this->getDefaultCategory();
\r
}
\r
\r
+ $isFuture = 0;
\r
if ( $timestamp > $this->getCorrectTime() )
\r
{
\r
$isFuture = 1;
\r