mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 06:50:12 +01:00
fixed an attachment download issue
This commit is contained in:
parent
d77b6da1a6
commit
878c361f1f
@ -62,7 +62,7 @@ class ModelSearchMessage extends Model {
|
||||
$s = substr($data, 0, 4096);
|
||||
$s = preg_replace("/(\r|\n)/", "", $s);
|
||||
|
||||
if(!preg_replace("/\s/", $s)) {
|
||||
if(!preg_match("/\s/", $s)) {
|
||||
return base64_decode(preg_replace("/\s/", "", $data));
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
<input type="hidden" name="sort" id="sort" value="date" />
|
||||
<input type="hidden" name="order" id="order" value="0" />
|
||||
|
||||
<input type="text" id="_search" name="_search" class="advtextgrey" value="" placeholder="<?php print $text_enter_search_terms; ?>" />
|
||||
<input type="text" id="_search" name="_search" class="advtextgrey" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
|
||||
|
||||
<button id="button_search" class="active" onclick="Piler.auditexpert(this);"><?php print $text_search; ?></button>
|
||||
<input type="button" class="advsecondary" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" />
|
||||
|
@ -39,7 +39,7 @@
|
||||
<input type="hidden" name="ref" id="ref" value="" />
|
||||
<input type="hidden" name="prefix" id="prefix" value="" />
|
||||
|
||||
<input type="text" id="_search" name="_search" class="advtextgrey" value="" placeholder="<?php print $text_enter_search_terms; ?>" />
|
||||
<input type="text" id="_search" name="_search" class="advtextgrey" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
|
||||
|
||||
<div class="aoo" onclick="$('#searchpopup1').show();">
|
||||
<div class="aoq"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user