Logging minifix

This commit is contained in:
Marcin Kurczewski 2013-11-18 23:23:56 +01:00
parent aff68e88cf
commit e336d04347

View file

@ -428,7 +428,7 @@ class PostController
/* source */
$suppliedSource = InputHelper::get('source');
if ($suppliedSource !== null and $suppliedSource != $post->sorce)
if ($suppliedSource !== null and $suppliedSource != $post->source)
{
PrivilegesHelper::confirmWithException(Privilege::EditPostSource, PrivilegesHelper::getIdentitySubPrivilege($post->uploader));
$suppliedSource = Model_Post::validateSource($suppliedSource);