Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix/ajax-autoloader

  • Loading branch information...
Stoyvo committed Mar 31, 2015
1 parent 24c5278 commit 5c5fd20c8fa71aa52f39ea900a00141b4571e33e
Showing with 1 addition and 1 deletion.
  1. +1 −1 ajax.php
@@ -17,7 +17,7 @@
$type = (!empty($_GET['type']) ? $_GET['type'] : $_POST['type']);
$action = (!empty($_GET['action']) ? $_GET['action'] : $_POST['action']);
$type = ucwords(strtolower($type));
$type = str_replace(' ', '', lcfirst(ucwords(str_replace('-', ' ', strtolower($type)))));
$action = str_replace(' ', '', lcfirst(ucwords(str_replace('-', ' ', strtolower($action)))));
// If we're not posting, it's a get function

0 comments on commit 5c5fd20

Please sign in to comment.
You can’t perform that action at this time.