projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Renames user_id to uid in requests related tables accordingly to our naming convention.
[platal.git]
/
modules
/
profile
/
general.inc.php
diff --git
a/modules/profile/general.inc.php
b/modules/profile/general.inc.php
index
cac45ec
..
488d180
100644
(file)
--- a/
modules/profile/general.inc.php
+++ b/
modules/profile/general.inc.php
@@
-412,7
+412,7
@@
class ProfileGeneral extends ProfilePage
if ($this->owner) {
$res = XDB::query("SELECT COUNT(*)
FROM requests
- WHERE type
='photo' AND user_
id = {?}",
+ WHERE type
= 'photo' AND u
id = {?}",
$this->owner->id());
$this->values['nouvellephoto'] = $res->fetchOneCell();
} else {