projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shortens profile_name_search* in profile_name*.
[platal.git]
/
include
/
validations.inc.php
diff --git
a/include/validations.inc.php
b/include/validations.inc.php
index
d72ec3d
..
fef4df2
100644
(file)
--- a/
include/validations.inc.php
+++ b/
include/validations.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-200
8
Polytechnique.org *
+ * Copyright (C) 2003-200
9
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-85,9
+85,9
@@
abstract class Validate
$this->stamp = date('YmdHis');
$this->unique = $_unique;
$this->type = $_type;
$this->stamp = date('YmdHis');
$this->unique = $_unique;
$this->type = $_type;
- $res = XDB::query("SELECT promo
_display AS promo
+ $res = XDB::query("SELECT promo
FROM profile_display
FROM profile_display
- WHERE
u
id={?}", $this->user->id());
+ WHERE
p
id={?}", $this->user->id());
$this->promo = $res->fetchOneCell();
}
$this->promo = $res->fetchOneCell();
}