Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2012-06-10 19:25:19 +0400
committerBartek Przybylski <bart.p.pl@gmail.com>2012-06-10 19:25:19 +0400
commit3970be3d7f7ba93db6689494a570d8da43bd7623 (patch)
tree6ce68385840c97e70e32b059d5280f58a8c19e7e /apps
parent31d48d4ba4652dc46f83825f1d9efe8cd408167f (diff)
fix variable name and undefined index notice
Diffstat (limited to 'apps')
-rw-r--r--apps/gallery/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/templates/index.php b/apps/gallery/templates/index.php
index e761cb54725..fd83490d60c 100644
--- a/apps/gallery/templates/index.php
+++ b/apps/gallery/templates/index.php
@@ -82,7 +82,7 @@ sort($images);
$arr = array();
$tl = new \OC\Pictures\TilesLine();
$ts = new \OC\Pictures\TileStack(array(), '');
-$previous_element = $images[0];
+$previous_element = @$images[0];
for($i = 0; $i < count($images); $i++) {
$prev_dir_arr = explode('/', $previous_element);
$dir_arr = explode('/', $images[$i]);