rabin %!s(int64=5) %!d(string=hai) anos
pai
achega
1117ce945f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/View.php

+ 2 - 0
src/View.php

@@ -42,6 +42,8 @@ class View
                 $data['ratio'] = $this->ratio('x', $data['wh']);
             } elseif (strstr($data['wh'], 'X')) {
                 $data['ratio'] = $this->ratio('X', $data['wh']);
+            } else {
+                $data['ratio'] = 1;
             }
         }
         $data['search_cate'] = 1;