scratch – Diff between revs 37 and 40
?pathlinks?
Rev 37 | Rev 40 | |||
---|---|---|---|---|
Line 23... | Line 23... | |||
23 | return; |
23 | return; |
|
Line 24... | Line 24... | |||
24 | |
24 | |
|
Line 25... | Line 25... | |||
25 | $action = strtoupper($_POST['action']); |
25 | $action = strtoupper($_POST['action']); |
|
26 | |
26 | |
|
27 | #### Data must be sent in order to save a file. |
27 | #### Data must be sent in order to save a file. |
|
Line 28... | Line 28... | |||
28 | if($action === 'SAVE' and (!isset($_POST['data']) or empty($_POST['data']))) |
28 | if($action === 'SAVE' and !isset($_POST['data'])) |
|
29 | return; |
29 | return; |
|
30 | |
30 | |