- embellish_url compacts now ..
- some trigger improvements (render_category_description) - improved perf of duplicate_xxx_url ( rewrote func params_for_duplication and remove some vars from $page ) git-svn-id: http://piwigo.org/svn/trunk@3126 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
e71d84ebfb
commit
e34c68cb89
5 changed files with 49 additions and 57 deletions
|
|
@ -27,8 +27,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
$page['rank_of'] = array_flip($page['items']);
|
||||
|
||||
$pictures = array();
|
||||
|
||||
$selection = array_slice(
|
||||
|
|
@ -39,6 +37,8 @@ $selection = array_slice(
|
|||
|
||||
if (count($selection) > 0)
|
||||
{
|
||||
$rank_of = array_flip($page['items']);
|
||||
|
||||
$query = '
|
||||
SELECT *
|
||||
FROM '.IMAGES_TABLE.'
|
||||
|
|
@ -53,6 +53,7 @@ SELECT *
|
|||
}
|
||||
|
||||
usort($pictures, 'rank_compare');
|
||||
unset($rank_of);
|
||||
}
|
||||
|
||||
if (count($pictures) > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue