Bläddra i källkod

! Doh! ... wrong var used for the preview length restriction (was post :P)

Spuds 13 år sedan
förälder
incheckning
a292160321
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Sources/ManagePosts.php

+ 1 - 1
Sources/ManagePosts.php

@@ -255,7 +255,7 @@ function ModifyPostSettings($return_config = false)
 		
 		// If we're changing the post preview length let's check its valid
 		if (!empty($_POST['preview_characters']))
-			$_POST['max_messageLength'] = (int) min(max(0, $_POST['max_messageLength']), 512);
+			$_POST['preview_characters'] = (int) min(max(0, $_POST['preview_characters']), 512);
 
 		call_integration_hook('integrate_save_post_settings');