Merge pull request #7336 from hregis/6.0_bug3
Fix: avoid "Uncaught Error: [] operator not supported for strings"
This commit is contained in:
commit
faaebbf5e1
@ -14,7 +14,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* or see http://www.gnu.org/
|
* or see http://www.gnu.org/
|
||||||
*
|
*
|
||||||
* $elementype must be defined.
|
* $elementype must be defined.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
$maxsizestring=255;
|
$maxsizestring=255;
|
||||||
$maxsizeint=10;
|
$maxsizeint=10;
|
||||||
|
$mesg=array();
|
||||||
|
|
||||||
$extrasize=GETPOST('size','int');
|
$extrasize=GETPOST('size','int');
|
||||||
$type=GETPOST('type','alpha');
|
$type=GETPOST('type','alpha');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user