Fix: avoid "Uncaught Error: [] operator not supported for strings"

This commit is contained in:
Regis Houssin 2017-09-06 11:08:23 +02:00
parent f5ccd943f1
commit 9b35793608

View File

@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* or see http://www.gnu.org/
*
*
* $elementype must be defined.
*/
@ -25,6 +25,7 @@
$maxsizestring=255;
$maxsizeint=10;
$mesg=array();
$extrasize=GETPOST('size','int');
$type=GETPOST('type','alpha');