diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-09-08 20:00:04 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-08 20:00:04 -0700 | 
| commit | 453fb76443898746b72a0a2ddd419cf8e54f4207 (patch) | |
| tree | 6b535ee36fc7b57e9c1b99c275378055e23d6269 /modules/gallery/controllers | |
| parent | f69dee8841d2285a7068d349053bd429f4bb9b40 (diff) | |
Actually use the slug when creating new albums (instead of just converting the
filename over).
Diffstat (limited to 'modules/gallery/controllers')
| -rw-r--r-- | modules/gallery/controllers/albums.php | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php index abcabfa6..8455d95c 100644 --- a/modules/gallery/controllers/albums.php +++ b/modules/gallery/controllers/albums.php @@ -107,7 +107,8 @@ class Albums_Controller extends Items_Controller {          $this->input->post("name"),          $this->input->post("title", $this->input->post("name")),          $this->input->post("description"), -        user::active()->id); +        user::active()->id, +        $this->input->post("slug"));        log::success("content", "Created an album",                     html::anchor("albums/$new_album->id", "view album")); | 
