On Mon, 29 Jul 2002, FAbel wrote: > With this you are saying that the approver isn't the person with id > 0 usally the Midgard Administrator
Yeah, I knew that... =) I was kind of hoping that it would be unset automagically again when an article was revised. > try with if($article->approved) As far as I understand midgard, the datatype of $article->approved is a unix timestamp. So checking if it is '0' will only work while the article hasn't been approved at all. If it already has been approved once, but is edited again (revised) later on, the value of $article->approved is not reset to '0' again. N'est pas? -- Fredrik Jonson [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
