comment translation
This commit is contained in:
parent
b90fabccfe
commit
7cc9639417
@ -116,7 +116,7 @@ class mod_myobject_standard extends ModeleNumRefMyObject
|
|||||||
{
|
{
|
||||||
global $db, $conf;
|
global $db, $conf;
|
||||||
|
|
||||||
// D'abord on recupere la valeur max
|
// First we get the max value
|
||||||
$posindice = 9;
|
$posindice = 9;
|
||||||
$sql = "SELECT MAX(CAST(SUBSTRING(ref FROM ".$posindice.") AS SIGNED)) as max";
|
$sql = "SELECT MAX(CAST(SUBSTRING(ref FROM ".$posindice.") AS SIGNED)) as max";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."mymodule_myobject";
|
$sql .= " FROM ".MAIN_DB_PREFIX."mymodule_myobject";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user