@@ 251-257 (lines=7) @@ | ||
248 | $row['phash'] = $this->encode($row['parent_id']); |
|
249 | } |
|
250 | ||
251 | if ($row['mime'] == 'directory') { |
|
252 | unset($row['width']); |
|
253 | unset($row['height']); |
|
254 | $row['size'] = 0; |
|
255 | } else { |
|
256 | unset($row['dirs']); |
|
257 | } |
|
258 | ||
259 | unset($row['id']); |
|
260 | unset($row['parent_id']); |
|
@@ 385-390 (lines=6) @@ | ||
382 | } |
|
383 | $row['path'] = $this->_path($id); |
|
384 | ||
385 | if ($row['mime'] == 'directory') { |
|
386 | unset($row['width']); |
|
387 | unset($row['height']); |
|
388 | } else { |
|
389 | unset($row['dirs']); |
|
390 | } |
|
391 | ||
392 | unset($row['id']); |
|
393 | unset($row['parent_id']); |