1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 15:16:44 +02:00

Don't print query in edit

This commit is contained in:
Jakub Vrana
2014-01-10 21:32:07 -08:00
parent dbf5eede9d
commit 2ecff21280
7 changed files with 19 additions and 19 deletions

View File

@@ -46,7 +46,7 @@ tinyMCE.init({
<?php
}
function selectVal(&$val, $link, $field) {
function selectVal(&$val, $link, $field, $original) {
if (preg_match("~_html~", $field["field"]) && $val != '&nbsp;') {
$shortened = (substr($val, -10) == "<i>...</i>");
if ($shortened) {