Henri Bergius schrieb:
Hi!

On 10/21/07, Andreas Flack <[EMAIL PROTECTED]> wrote:
So, the question is: Is it normal that the created field is not set for newer
(I guess after my update to midcom 2.8beta) items or is this a bug of some
kind?

It is a bug in the sense that only metadata properties should be used
now, not the deprecated properties.

So, use $invoice->metadata->created (or even better, published)
instead of $invoice->created.

Commited a fix for it now. Actually, for this particular piece of code (trunk/midcom/org.openpsa.invoices/invoice.php line 38), the best solution would be to do something like "select max(id)", because it is actually looking for the id of the youngest DB entry, but I guess that is not possible with QB yet, or is it?


Bye,

Andreas


Andreas

/Henri


_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to