Browse Source

Fix order of idol names in jdb autofill

xoru 5 years ago
parent
commit
0839bda9dc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/ajax/autofill/jav.php

+ 1
- 1
sections/ajax/autofill/jav.php View File

@@ -125,7 +125,7 @@ if (!$debug && $Cache->get_value('jav_fill_json_'.$cn)) {
125 125
           $idol_lower = strtolower(str_replace(' ', '-', $idol_name));
126 126
           // ensure it's actually an idol name
127 127
           if (strpos($idols_raw->attributes->item(0)->nodeValue, '.com/idols/' . $idol_lower) !== false) {
128
-            $idols[] = $idols_raw->nodeValue;
128
+            $idols[] = implode(' ', array_reverse(explode(' ', $idols_raw->nodeValue)));
129 129
           }
130 130
         }
131 131
         $idols_raw = $idols_raw->nextSibling;

Loading…
Cancel
Save