امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I would like to be able to perform some validation to prevent duplicate entries in _preSave and not save if a duplicate exists. Is there a function I can use to tell the entity to slip this one?
edit: It is worth adding some context. I am saving from an array so I don't want to error out the entire process, but rather just skip the duplicate lines.
edit: It is worth adding some context. I am saving from an array so I don't want to error out the entire process, but rather just skip the duplicate lines.
