> > >> <? $article = mgd_get_article($myid); > >> $article->content = 'blabla'; > >> $article->url = 'blabla'; > >> $article->update(); ?> > >> > >> and I got error "Name exists". > Ok, I just got to understand this correctly. when doing ->update() you only > change the values that you have redefined in an article, right? > > You do not create another article? > > What is the behavior today? I thought the above is the correct way of doing > things ;) According to the manual (the way I read it anyhow) the above code > should change two fields in an article to a new content, IF you got write > rights to that article, that is :)
My midgard is from August CVS (or even July). I can not create any object. Or maybe $object->update() creates one? :) I can not make any upgrade till now, cause I am not sure how it will works. Simply I can not reproduce my production server on another box for 100%. And I do not want to meet "trials and errors upgrade and install". All I need is to correct $object->update for my version, or find some workaround for that. PHP? Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
