comment translation

This commit is contained in:
Philippe GRAND 2020-02-22 12:28:15 +01:00
parent b90fabccfe
commit 7cc9639417

View File

@ -116,7 +116,7 @@ class mod_myobject_standard extends ModeleNumRefMyObject
{
global $db, $conf;
// D'abord on recupere la valeur max
// First we get the max value
$posindice = 9;
$sql = "SELECT MAX(CAST(SUBSTRING(ref FROM ".$posindice.") AS SIGNED)) as max";
$sql .= " FROM ".MAIN_DB_PREFIX."mymodule_myobject";