davidg Thu Mar 15 01:09:58 2001 EDT Modified files: /php4/ext/midgard snippet.c Log: Snippet author is a string. Index: php4/ext/midgard/snippet.c diff -u php4/ext/midgard/snippet.c:1.7 php4/ext/midgard/snippet.c:1.8 --- php4/ext/midgard/snippet.c:1.7 Sat Mar 10 14:43:10 2001 +++ php4/ext/midgard/snippet.c Thu Mar 15 01:09:53 2001 @@ -1,4 +1,4 @@ -/* $Id: snippet.c,v 1.7 2001/03/10 22:43:10 emile Exp $ +/* $Id: snippet.c,v 1.8 2001/03/15 09:09:53 davidg Exp $ Copyright (C) 1999 Jukka Zitting <[EMAIL PROTECTED]> Copyright (C) 2000 The Midgard Project ry Copyright (C) 2000 Emile Heyns, Aurora SA <[EMAIL PROTECTED]> @@ -124,9 +124,6 @@ convert_to_string_ex(code); convert_to_string_ex(doc); convert_to_string_ex(author); - - if (!mgd_exists_id(mgd_handle(), "person", "id=$d", (*author)->value.lval)) - RETURN_FALSE_BECAUSE(MGD_ERR_NOT_EXISTS); if (!mgd_exists_id(mgd_handle(), "snippetdir", "id=$d", (*snippetdir)->value.lval)) RETURN_FALSE_BECAUSE(MGD_ERR_NOT_EXISTS); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]