Jump to content
Sign in to follow this  

[pSys: Bereiche] Man kann den Hauptbereich (id=1) löschen

Recommended Posts

In der area.php gibt es folgenden Code:


// Bestehenden löschen. --------------------------------------------------------
if( $_GET['delete'] > 0 )
   $pdb->query("DELETE FROM $tab_area
                      WHERE id = ".$_GET['delete']);

Man muss eigentlich nur statt > 0 ein > 1 schreiben und fertig.

Share this post

Link to post
Share on other sites
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...