make bytea fields shortable
This commit is contained in:
parent
32334f1106
commit
47c582acb3
|
@ -1187,7 +1187,7 @@ function is_url($string) {
|
|||
* @return bool
|
||||
*/
|
||||
function is_shortable($field) {
|
||||
return preg_match('~char|text|lob|geometry|point|linestring|polygon|string~', $field["type"]);
|
||||
return preg_match('~char|text|lob|geometry|point|linestring|polygon|string|bytea~', $field["type"]);
|
||||
}
|
||||
|
||||
/** Get query to compute number of found rows
|
||||
|
|
Loading…
Reference in a new issue