Search Phrase Drops to 3 Words When Clicking Second Page (Bugs)

by Micha ⌂, Thursday, September 12, 2019, 08:08 (1061 days ago) @ Auge


Ahh, yes. It's only to muddle all the people.

Check ;-)

Let's start again. If we cut every input to a length of X words (stored in $limit), we can simply use the function array_splice.

    // limit to X ($limit) words:
$limit = 9; // Fictional variable with the new limit for the amount of words.
array_splice($search_array, $limit);
foreach ($search_array as $search_item) {
$stripped_search_array[] = $search_item;
$search_array = $stripped_search_array;

This is the next try to muddle all the people? Please remove the loop and all will be fine. ;-)


applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Complete thread:

 RSS Feed of thread