[Phpslash-commit] CVS: phpslash-ft/class Story_base.class,1.5,1.6
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-03-14 20:42:12
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv14671/phpslash-ft/class Modified Files: Story_base.class Log Message: no echoes in Story_base.class Index: Story_base.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Story_base.class,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Story_base.class 14 Mar 2002 20:38:18 -0000 1.5 --- Story_base.class 14 Mar 2002 20:42:08 -0000 1.6 *************** *** 434,454 **** */ if ($topic_id_ary[0] == "") { ! error ("You need to select at least one <B>topic</B> in Story.class::saveStory"); return false; } if ($section_id_ary[0] == "") { ! error ("You need to select at least one <B>section</B> in Story.class::saveStory"); return false; } if ($ary['title'] == "") { ! error ("There is no title in Story.class::saveStory"); return false; } if ($ary['intro_text'] == "") { ! error ("There is no intro_text in Story.class::saveStory"); return false; } if ($ary['author_id'] == "") { ! error ("There is no author_id in Story.class::saveStory"); return false; } --- 434,454 ---- */ if ($topic_id_ary[0] == "") { ! $this->message = "You need to select at least one <B>topic</B> in Story.class::saveStory"; return false; } if ($section_id_ary[0] == "") { ! $this->message = "You need to select at least one <B>section</B> in Story.class::saveStory"; return false; } if ($ary['title'] == "") { ! $this->message = "There is no title in Story.class::saveStory"; return false; } if ($ary['intro_text'] == "") { ! $this->message = "There is no intro_text in Story.class::saveStory"; return false; } if ($ary['author_id'] == "") { ! $this->message = "There is no author_id in Story.class::saveStory"; return false; } |