ctrlo / GADS

Globally Accessible Data Store
GNU Affero General Public License v3.0
4 stars 8 forks source link

Removed regex error on save draft #405

Closed droberts-ctrlo closed 3 months ago

abeverley commented 3 months ago

Thanks Dave, this is great. Can you just alter the formatting to match the existing code please?

E.g. instead of:

if(!$options{draft}) {

Do:

if (!$options{draft})
{

And $datum->set_value($newv, draft => defined(param draft)) instead of $datum->set_value($newv, draft=>defined(param draft))

abeverley commented 3 months ago

Thanks. Sorry to be pernickety but there are a few others in the remaining code too. Let's take a look at using perltidy!