Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv5467/phpslash-ft/class
Modified Files:
Author.class
Log Message:
missed author_name in saveAuthor
Index: Author.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Author.class,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** Author.class 11 Apr 2002 21:05:06 -0000 1.17
--- Author.class 13 Apr 2002 16:35:21 -0000 1.18
***************
*** 128,132 ****
/* if a record exists, then we update, else we insert a new author! */
! $this->db->query("SELECT author_id
FROM psl_author
WHERE author_id = '".$ary['author_id']."'");
--- 128,132 ----
/* if a record exists, then we update, else we insert a new author! */
! $this->db->query("SELECT author_id, author_name
FROM psl_author
WHERE author_id = '".$ary['author_id']."'");
|