Ability to delete blob (Editor)
This commit is contained in:
parent
3a11358dc7
commit
5e4450ba11
|
@ -387,7 +387,11 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
|
||||||
}
|
}
|
||||||
|
|
||||||
function editFunctions($field) {
|
function editFunctions($field) {
|
||||||
$return = array("" => ($field["null"] || $field["auto_increment"] || $field["full_type"] == "tinyint(1)" ? "" : "*"));
|
$return = array();
|
||||||
|
if ($field["null"] && ereg('blob', $field["type"])) {
|
||||||
|
$return["NULL"] = lang('empty');
|
||||||
|
}
|
||||||
|
$return[""] = ($field["null"] || $field["auto_increment"] || $field["full_type"] == "tinyint(1)" ? "" : "*");
|
||||||
//! respect driver
|
//! respect driver
|
||||||
if (ereg('date|time', $field["type"])) {
|
if (ereg('date|time', $field["type"])) {
|
||||||
$return["now"] = lang('now');
|
$return["now"] = lang('now');
|
||||||
|
|
Loading…
Reference in a new issue