Permalink
Browse files

Fix - unvalid token

  • Loading branch information...
yama committed Sep 4, 2017
1 parent d89c8a7 commit 5eb0b061ef95a67c0eb670c006a8149db336d462
@@ -98,7 +98,6 @@
}
$ph['actionButtons'] = getActionButtons($id);
$ph['token'] = $modx->manager->makeToken();
echo parseText($tpl['head'],$ph);
@@ -1364,7 +1364,6 @@ function getTplHead()
<input type="hidden" name="MAX_FILE_SIZE" value="[+upload_maxsize+]" />
<input type="hidden" name="newtemplate" value="" />
<input type="hidden" name="pid" value="[+pid+]" />
<input type="hidden" name="token" value="[+token+]" />
<input type="submit" name="save" style="display:none" />
[+OnDocFormPrerender+]

0 comments on commit 5eb0b06

Please sign in to comment.