rabin %!s(int64=6) %!d(string=hai) anos
pai
achega
ffd3d1ab3c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/Api.php

+ 3 - 0
src/Api.php

@@ -336,6 +336,9 @@ class Api
 		if ($attr) {
 			foreach ($attr as $k => $v) {
 				$sort[$k] = $v[$reorder];
+				if ($v['type_option']) {
+                    $attr[$k]['option'] = explode("\n", $v['type_option']);
+                }
 			}
 			array_multisort($sort, SORT_DESC, $attr);
 		}