1
0

Added new programs - fixed a few things ....

This commit is contained in:
2014-08-04 20:10:58 +02:00
parent f8df6da103
commit 59d911e682
16 changed files with 54 additions and 26 deletions

View File

@@ -117,7 +117,7 @@ class BlogPost extends CActiveRecord
$name = str_replace(' ', '_', $name);
$name = preg_replace("/[^A-Za-z0-9_]/", '', $name);
return '/blog/' . $this->ID . '/' . $name;
return '/blog/' . $this->ID . '/' . rawurlencode($name);
}
/**