Skip to content

Instantly share code, notes, and snippets.

Avatar

SeeSchloß seeschloss

View GitHub Profile
View gist:5412485
MySQL [plop]> create table test (str varchar(255), str2 text);
Query OK, 0 rows affected (0.18 sec)
MySQL [plop]> insert into test (str, str2) values ('plop', 'plop2');
Query OK, 1 row affected (0.00 sec)
MySQL [plop]> select * from test;
+------+-------+
| str | str2 |
+------+-------+
View gist:5387979
<?php
$object = new stdClass();
$object->{'property'} = 'value 1';
$object->{'42'} = 'value 2';
$array = (array)$object;
var_dump($array);
View gist:5311799
diff --git a/asset.module b/asset.module
index a39f07f..6eaa645 100644
--- a/asset.module
+++ b/asset.module
@@ -320,28 +320,30 @@ function asset_menu() {
'file' => 'includes/asset.admin.inc',
);
- $items['admin/assets/get'] = array(
+ $items['admin/assets/tag/%/%/%'] = array(
You can’t perform that action at this time.