Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear button in article publish date #17809

Merged
merged 7 commits into from
Mar 17, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update module.php
  • Loading branch information
akritianand committed Sep 13, 2017
commit af24b7347d36cd1c50fcadaa3f3e2758fb1b5cab
3 changes: 2 additions & 1 deletion administrator/components/com_modules/models/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,8 @@ public function save($data)

if ($data['title'] == $orig_table->title)
{
$data['title'] .= ' ' . JText::_('JGLOBAL_COPY');
//$data['title'] .= ' ' . JText::_('JGLOBAL_COPY');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please delete line.

From Joomla Coding Standards:
Do not leave commented code unless there is a clearly explained reason for doing so. In such a case, a comment saying "Code intentionally commented" will prevent accidental removal.

$data['title'] = StringHelper::increment($data['title']);
}
}

Expand Down