1
0

Correct some typos

This commit is contained in:
Anthony Callegaro 2012-08-23 00:55:34 +02:00
parent 64879f893b
commit ce64861e22
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ class Admin_Jpegtran_Controller extends Admin_Controller {
// Get module parameters from the DB
$view->content->path = module::get_var("jpegtran", "path");
// First time run (no param in the DB)
if (empty($view->content->path) && ! empty($path)) {
if (isset($view->content->path) && ! empty($path)) {
// Add the located path in the DB
module::set_var("jpegtran", "path", $path);
$view->content->path = $path;

View File

@ -2,6 +2,6 @@ name = Jpegtran
description = "Rotate images using jpegtran"
version = 2
author_name = "Carl Streeter and LeTic"
author_url = "http://codex.gallery2.org/Gallery:Team"
author_url = "http://codex.gallery2.org/User:Letic"
info_url = "http://codex.gallery2.org/Gallery3:Modules:jpegtran"
discuss_url = "http://gallery.menalto.com/node/98524#comment-356535"
discuss_url = "http://gallery.menalto.com/node/107819"