امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
PHP:
I am not 100% sure if this is always the case, but at least on one database that we importet column
This...
Read more
کد:
$mediaItems = $this->sourceDb->fetchAll("
SELECT
p.*,
c.cattype,
c.ismember,
IF(u.username IS NULL, p.user, u.username) AS username,
u.email
I am not 100% sure if this is always the case, but at least on one database that we importet column
users.user is not null but mostly contain s empty strings, so the above IF condition fails and the empty string is being taken, although photos.user is not empty in all cases.This...
Read more
