This commit is contained in:
Hamid Reza Mohammadi 2021-01-04 16:11:51 +03:30
parent 1fa79772ba
commit 85d18b6175

View File

@ -866,7 +866,7 @@ namespace RMuseum.Services.Implementation
foreach (DataRow row in srcData.Rows)
{
GanjoorPageType pageType =
row["post_type"].ToString() == "post" ?
row["post_type"].ToString() == "post" && row["comment_status"].ToString() != "closed" ?
GanjoorPageType.PoemPage
:
row["template"].ToString() == "comspage.php" ?